mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 11:21:33 +00:00
64f883cd98
If vpif_probe() fails on v4l2_device_register() and vpif_probe_complete(), then memory allocated at initialize_vpif() for global vpif_obj.dev[i] become unreleased. The patch adds deallocation of vpif_obj.dev[i] on the error path. Signed-off-by: Young Xiao <92siuyang@gmail.com> Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> |
||
---|---|---|
.. | ||
ccdc_hw_device.h | ||
dm355_ccdc_regs.h | ||
dm355_ccdc.c | ||
dm644x_ccdc_regs.h | ||
dm644x_ccdc.c | ||
isif_regs.h | ||
isif.c | ||
Kconfig | ||
Makefile | ||
vpbe_display.c | ||
vpbe_osd_regs.h | ||
vpbe_osd.c | ||
vpbe_venc_regs.h | ||
vpbe_venc.c | ||
vpbe.c | ||
vpfe_capture.c | ||
vpif_capture.c | ||
vpif_capture.h | ||
vpif_display.c | ||
vpif_display.h | ||
vpif.c | ||
vpif.h | ||
vpss.c |