]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: serial: Fix memory leak in sierra_release()
authorLennart Sorensen <lsorense@csclub.uwaterloo.ca>
Wed, 24 Oct 2012 14:23:09 +0000 (10:23 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Oct 2012 18:45:34 +0000 (11:45 -0700)
commitf7bc5051667b74c3861f79eed98c60d5c3b883f7
tree9d3595446c7a78e94f1e18bf305eb6f33eb327dd
parent036546bf950b7916dcc051eb0d450e23028b487a
USB: serial: Fix memory leak in sierra_release()

I found a memory leak in sierra_release() (well sierra_probe() I guess)
that looses 8 bytes each time the driver releases a device.

Signed-off-by: Len Sorensen <lsorense@csclub.uwaterloo.ca>
Acked-by: Johan Hovold <jhovold@gmail.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/sierra.c