[PATCH - bugfix for 3.11] usb/gadget: free opts struct on error recovery

2013-07-25 Thread Andrzej Pietrasiewicz
Fix memory leaks introduced in commits: 40d133d7f542616cf9538508a372306e626a16e9 usb: gadget: f_ncm: convert to new function interface with backward compatibility fee562a6450b7806f1fbbe1469a67b5395b5c10a usb: gadget: f_ecm: convert to new function interface with backward compatibility

Re: [PATCH - bugfix for 3.11] usb/gadget: free opts struct on error recovery

2013-07-25 Thread Michal Nazarewicz
On Thu, Jul 25 2013, Andrzej Pietrasiewicz wrote: Fix memory leaks introduced in commits: 40d133d7f542616cf9538508a372306e626a16e9 usb: gadget: f_ncm: convert to new function interface with backward compatibility fee562a6450b7806f1fbbe1469a67b5395b5c10a usb: gadget: f_ecm: convert to new