On 02/28/2014 10:32 AM, Andrzej Pietrasiewicz wrote: > If uvc->control_buf is successfuly allocated but uvc->control_req > is not, uvc->control_buf is not freed in the error recovery path. > With this patch applied uvc->control_buf is freed unconditionally; > if it happens to be NULL kfree on it is safe anyway. > > Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@xxxxxxxxxxx> Acked-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> This has nothing todo with configfs interface and is something that has been broken before. Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html