Re: [PATCH v2 3/8] usb: gadget: uvc: configfs: Drop leaked references to config items

2018-09-24 Thread Kieran Bingham
Hi Laurent, On 01/08/18 22:55, Laurent Pinchart wrote: > 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 Pinchar

[PATCH v2 3/8] usb: gadget: uvc: configfs: Drop leaked references to config items

2018-08-01 Thread Laurent Pinchart
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 --- drivers/usb/gadget/function/uvc_configfs.c | 4 1 fil