git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbaa7c8
)
usb: dwc3: gadget: avoid memory leak when failing to allocate all eps
author
David Cohen
<david.a.cohen@linux.intel.com>
Thu, 12 Sep 2013 00:42:47 +0000
(17:42 -0700)
committer
Felipe Balbi
<balbi@ti.com>
Tue, 17 Sep 2013 16:05:01 +0000
(11:05 -0500)
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>
No differences found