]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
USB: whiteheat: fix memory leak in error path
authorJohan Hovold <jhovold@gmail.com>
Thu, 25 Oct 2012 08:29:01 +0000 (10:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Oct 2012 16:51:35 +0000 (09:51 -0700)
commita48db008e3d875c6cd33f3d3aa86344e80bab16c
treeb13afd3c536ed53d206664776f56d9e1a4db06b5
parent974ee86a47395138c0def2639686d02e4a8af34c
USB: whiteheat: fix memory leak in error path

commit c129197c99550d356cf5f69b046994dd53cd1b9d upstream.

Make sure command buffer is deallocated in case of errors during attach.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Cc: <support@connecttech.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/whiteheat.c