diff options
author | Grigor Tovmasyan <[email protected]> | 2018-05-24 18:22:30 +0400 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2018-06-19 12:48:14 +0300 |
commit | 9bb073a053f0464ea74a4d4c331fdb7da58568d6 (patch) | |
tree | 9327045eefd467b1a6e7f95e30b3eca167fef996 /tools/perf/util/trace-event-scripting.c | |
parent | 980900d6318066b9f8314bfb87329a20fd0d1ca4 (diff) |
usb: gadget: dwc2: fix memory leak in gadget_init()
Freed allocated request for ep0 to prevent memory leak in case when
dwc2_driver_probe() failed.
Cc: Stefan Wahren <[email protected]>
Cc: Marek Szyprowski <[email protected]>
Tested-by: Stefan Wahren <[email protected]>
Tested-by: Marek Szyprowski <[email protected]>
Acked-by: Minas Harutyunyan <[email protected]>
Signed-off-by: Grigor Tovmasyan <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions