diff options
| author | Johan Hovold <johan@kernel.org> | 2017-01-03 16:39:41 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-12 11:22:46 +0100 |
| commit | f0bdd7e0ccb22ed791402102c04e47b90b407d0a (patch) | |
| tree | 5c2555cbbfe77993d559b0da703ba8cd61db6f95 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | e3d6a0da47e6f3610eb002304230c6af97aeb636 (diff) | |
USB: serial: garmin_gps: fix memory leak on failed URB submit
commit c4ac4496e835b78a45dfbf74f6173932217e4116 upstream.
Make sure to free the URB transfer buffer in case submission fails (e.g.
due to a disconnect).
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
