diff options
author | David Cohen <[email protected]> | 2013-09-11 17:42:47 -0700 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2013-09-17 11:05:01 -0500 |
commit | e1f804676a95b9d5caaa3a822d90bc1101595468 (patch) | |
tree | c48ac2f81d78af981ea2415b4a6dc10178956c6d /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | bbaa7c81e61e339fbc6aae2594c7ce8f54196fa7 (diff) |
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 <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions