USB: kobil: fix memory leak
commitc0f631d1948658b27349545b2cbcb4b32f010c7a
authorJohan Hovold <jhovold@gmail.com>
Sat, 15 May 2010 15:53:43 +0000 (15 17:53 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:47 +0000 (20 13:21 -0700)
tree01a88964ccbeb2c551da1e9b1ffc3b97bf279a9f
parent86234d4975ce084d14711283a3bfc69305f97602
USB: kobil: fix memory leak

An urb transfer buffer is allocated at every open but was never freed.

This driver is a bit of a mess...

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