]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit7e41f9bcdd2e813ea2a3c40db291d87ea06b559f
tree9bd76cc6dc0d9905d12f0e01dc31718ec8b63bb2
parentb8f0e82044c9ba40e92340c8a6d47d6bd6d819bc
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