commit | c4ac4496e835b78a45dfbf74f6173932217e4116 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Tue Jan 03 16:39:41 2017 +0100 |
committer | Johan Hovold <johan@kernel.org> | Wed Jan 04 10:37:15 2017 +0100 |
tree | b7f2f0e6c86dd3c39f095f11c36d8f503cdbef6f | |
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>