diff options
| author | Alexander Koskovich <akoskovich@pm.me> | 2026-03-12 17:16:20 +0000 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-03-24 11:58:02 +0100 |
| commit | f75e160745663ce9b13362ae6e90bd439c58df69 (patch) | |
| tree | e96dc2a00a80d794ab51a816fe1eb4f4d6e20098 /tools/testing/vma/include/git@git.tavy.me:linux.git | |
| parent | ea9e61deee422e0c781b512967634b8716a1c6ce (diff) | |
media: i2c: ov8856: free control handler on error in ov8856_init_controls()
The control handler wasn't freed if adding controls failed, add an error
exit label and convert the existing error return to use it.
Fixes: 879347f0c258 ("media: ov8856: Add support for OV8856 sensor")
Cc: stable@vger.kernel.org
Signed-off-by: Alexander Koskovich <akoskovich@pm.me>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/testing/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
