mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
usb: gadget: free opts struct on error recovery
Fix memory leaks introduced in commits:40d133d7f5usb: gadget: f_ncm: convert to new function interface with backward compatibilityfee562a645usb: gadget: f_ecm: convert to new function interface with backward compatibilityfcbdf12ebeusb: gadget: f_phonet: convert to new function interface with backward compatibilityb29002a157usb: gadget: f_eem: convert to new function interface with backward compatibility8cedba7c73usb: gadget: f_subset: convert to new function interface with backward compatibilityf466c63538usb: gadget: f_rndis: convert to new function interface with backward compatibility Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
23a113a0f3
commit
3b45b2a2ad
6 changed files with 30 additions and 12 deletions
Loading…
Add table
Add a link
Reference in a new issue