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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
ccdc_hw_device.h | ||
dm355_ccdc.c | ||
dm355_ccdc_regs.h | ||
dm644x_ccdc.c | ||
dm644x_ccdc_regs.h | ||
isif.c | ||
isif_regs.h | ||
vpbe.c | ||
vpbe_display.c | ||
vpbe_osd.c | ||
vpbe_osd_regs.h | ||
vpbe_venc.c | ||
vpbe_venc_regs.h | ||
vpfe_capture.c | ||
vpif.c | ||
vpif.h | ||
vpif_capture.c | ||
vpif_capture.h | ||
vpif_display.c | ||
vpif_display.h | ||
vpss.c |