diff options
| author | 2025-07-06 00:31:09 +0800 | |
|---|---|---|
| committer | 2025-07-10 11:32:26 +0200 | |
| commit | 76142b137b968d47b35cdd8d1dc924677d319c8b (patch) | |
| tree | 12ddf4fe7005e4926df01c9d9491748b5423423b /include/uapi/linux/android/ssh:/git@git.zx2c4.com | |
| parent | media: ti: j721e-csi2rx: fix list_del corruption (diff) | |
media: ov2659: Fix memory leaks in ov2659_probe()
ov2659_probe() doesn't properly free control handler resources in failure
paths, causing memory leaks. Add v4l2_ctrl_handler_free() to prevent these
memory leaks and reorder the ctrl_handler assignment for better code flow.
Fixes: c4c0283ab3cd ("[media] media: i2c: add support for omnivision's ov2659 sensor")
Cc: stable@vger.kernel.org
Signed-off-by: Zhang Shurong <zhang_shurong@foxmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'include/uapi/linux/android/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
