diff options
author | 2016-04-12 16:24:34 +0800 | |
---|---|---|
committer | 2016-04-18 12:35:18 +0300 | |
commit | e6bdf8195b4a43ebff71f25fc7ca5e436e79161a (patch) | |
tree | 901dbc6c719c44f3da148c34cf2220866659fcc6 /tools/perf/scripts/python/stackcollapse.py | |
parent | usb: dwc3: core: fix PHY handling during suspend (diff) | |
download | wireguard-linux-e6bdf8195b4a43ebff71f25fc7ca5e436e79161a.tar.xz wireguard-linux-e6bdf8195b4a43ebff71f25fc7ca5e436e79161a.zip |
usb: dwc3: fix memory leak of dwc->regset
dwc->regset is allocated on dwc3_debugfs_init, and should
be released on init failure or dwc3_debugfs_exit. Btw,
The line "dwc->root = NULL" is unnecessary, so remove it.
Signed-off-by: Du, Changbin <changbin.du@intel.com>
[ felipe.balbi@linux.intel.com : add another err label for the new
error condition ]
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions