David Cohen e1f804676a usb: dwc3: gadget: avoid memory leak when failing to allocate all eps
If dwc3_gadget_init_endpoint() fails after allocate some of the eps, we
need to free their memory to avoid leak.

Signed-off-by: David Cohen <david.a.cohen@linux.intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-09-17 11:05:01 -05:00
..
2013-07-29 13:56:44 +03:00
2013-07-29 13:56:44 +03:00
2013-09-03 11:36:27 -07:00
2013-07-29 13:56:44 +03:00
2013-07-29 13:56:44 +03:00
2013-07-29 13:56:44 +03:00
2013-09-17 11:04:03 -05:00