Commit 71dfb2c7 authored by Sakari Ailus's avatar Sakari Ailus Committed by Hans Verkuil
Browse files

media: i2c: ov2740: Free control handler on error path



The control handler wasn't freed if v4l2_fwnode_device_parse() failed. Do
that now.

Co-developed-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
parent acc29451
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment