diff options
| author | Christophe JAILLET <[email protected]> | 2020-04-27 18:04:23 +0000 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2020-05-09 08:05:08 +0000 |
| commit | ccaef7e6e354fb65758eaddd3eae8065a8b3e295 (patch) | |
| tree | e8816e15fdf3e2e9a4300b30aa2a527dd4a20ed4 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
| parent | usb: phy: twl6030-usb: Fix a resource leak in an error handling path in 'twl6... (diff) | |
| download | kernel-ccaef7e6e354fb65758eaddd3eae8065a8b3e295.tar.gz kernel-ccaef7e6e354fb65758eaddd3eae8065a8b3e295.zip | |
usb: gadget: net2272: Fix a memory leak in an error handling path in 'net2272_plat_probe()'
'dev' is allocated in 'net2272_probe_init()'. It must be freed in the error
handling path, as already done in the remove function (i.e.
'net2272_plat_remove()')
Fixes: 90fccb529d24 ("usb: gadget: Gadget directory cleanup - group UDC drivers")
Signed-off-by: Christophe JAILLET <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions
