diff options
author | 2018-05-24 18:22:30 +0400 | |
---|---|---|
committer | 2018-06-19 12:48:14 +0300 | |
commit | 9bb073a053f0464ea74a4d4c331fdb7da58568d6 (patch) | |
tree | 9327045eefd467b1a6e7f95e30b3eca167fef996 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | usb: gadget: composite: fix delayed_status race condition when set_interface (diff) | |
download | wireguard-linux-9bb073a053f0464ea74a4d4c331fdb7da58568d6.tar.xz wireguard-linux-9bb073a053f0464ea74a4d4c331fdb7da58568d6.zip |
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 <stefan.wahren@i2se.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Minas Harutyunyan <hminas@synopsys.com>
Signed-off-by: Grigor Tovmasyan <tovmasya@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions