Commit e592d789 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Srinivasarao P
Browse files

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: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: default avatarKieran Bingham <kieran.bingham@ideasonboard.com>
Git-commit: 86f3daed
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 699d0d1e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment