]> git.baikalelectronics.ru Git - kernel.git/commit
USB: sierra: fix memory leak in attach error path
authorJohan Hovold <jhovold@gmail.com>
Thu, 25 Oct 2012 08:29:17 +0000 (10:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Oct 2012 16:37:13 +0000 (09:37 -0700)
commit6bd769e7703f391a182f04c209549205081cfe09
tree9bd76cc6dc0d9905d12f0e01dc31718ec8b63bb2
parent49f864809b7ee63465f359a643e06fd36c6bec32
USB: sierra: fix memory leak in attach error path

Make sure port private data is deallocated on errors in attach.

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