diff options
author | Johan Hovold <johan@kernel.org> | 2017-01-03 16:39:41 +0100 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-01-04 10:37:15 +0100 |
commit | c4ac4496e835b78a45dfbf74f6173932217e4116 (patch) | |
tree | b7f2f0e6c86dd3c39f095f11c36d8f503cdbef6f /include | |
parent | 3dca01114dcecb1cf324534cd8d75fd1306a516b (diff) |
USB: serial: garmin_gps: fix memory leak on failed URB submit
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")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions