7843a9bfbe
[ Upstream commit 61334819aca018c3416ee6c330a08a49c1524fc3 ]
s3c_camif_register_video_node() works with video_device structure stored
as a field of camif_vp, so it should not be kfreed.
But there is video_device_release() on error path that do it.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes:
|
||
---|---|---|
.. | ||
camif-capture.c | ||
camif-core.c | ||
camif-core.h | ||
camif-regs.c | ||
camif-regs.h | ||
Makefile |