commit | 0bd193d62b4270a2a7a09da43ad1034c7ca5b3d3 | [log] [tgz] |
---|---|---|
author | Maksim Salau <maksim.salau@gmail.com> | Sat May 13 23:49:26 2017 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed May 17 11:27:41 2017 +0200 |
tree | b0dbf8e4281c5ade54e073dc9d0042a209c0282d | |
parent | 2f964780c03b73de269b08d12aff96a9618d13f3 [diff] |
usb: misc: legousbtower: Fix memory leak get_version_reply is not freed if function returns with success. Fixes: 942a48730faf ("usb: misc: legousbtower: Fix buffers on stack") Reported-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Maksim Salau <maksim.salau@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>