summaryrefslogtreecommitdiff
path: root/drivers/media/platform/mediatek/vpu/mtk_vpu.h
diff options
context:
space:
mode:
authorZhipeng Lu <alexious@zju.edu.cn>2024-02-21 08:17:04 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-02-28 18:00:33 +0300
commitd0b07f712bf61e1a3cf23c87c663791c42e50837 (patch)
treec33d7a2554f23e07cdc03f1c04307daf98f56d23 /drivers/media/platform/mediatek/vpu/mtk_vpu.h
parentb9b683844b01d171a72b9c0419a2d760d946ee12 (diff)
downloadlinux-d0b07f712bf61e1a3cf23c87c663791c42e50837.tar.xz
media: ttpci: fix two memleaks in budget_av_attach
When saa7146_register_device and saa7146_vv_init fails, budget_av_attach should free the resources it allocates, like the error-handling of ttpci_budget_init does. Besides, there are two fixme comment refers to such deallocations. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Zhipeng Lu <alexious@zju.edu.cn> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media/platform/mediatek/vpu/mtk_vpu.h')
0 files changed, 0 insertions, 0 deletions