summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/function/f_uvc.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-08-01 23:14:00 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-09-24 17:54:13 +0200
commit86f3daed59bceb4fa7981d85e89f63ebbae1d561 (patch)
tree6f506e44cfac3b0c8155120d37987bce03cb6d84 /drivers/usb/gadget/function/f_uvc.c
parentusb: gadget: uvc: configfs: Add section header comments (diff)
downloadlinux-86f3daed59bceb4fa7981d85e89f63ebbae1d561.tar.xz
linux-86f3daed59bceb4fa7981d85e89f63ebbae1d561.zip
usb: gadget: uvc: configfs: Drop leaked references to config items
Some of the .allow_link() and .drop_link() operations implementations call config_group_find_item() and then leak the reference to the returned item. Fix this by dropping those references where needed. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'drivers/usb/gadget/function/f_uvc.c')
0 files changed, 0 insertions, 0 deletions