]> git.baikalelectronics.ru Git - kernel.git/commit
USB: kobil: fix memory leak
authorJohan Hovold <jhovold@gmail.com>
Sat, 15 May 2010 15:53:43 +0000 (17:53 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:47 +0000 (13:21 -0700)
commit25e65c2263ba093cd6d95a9f555c9ec005017ac5
tree01a88964ccbeb2c551da1e9b1ffc3b97bf279a9f
parent4d9d19e477f3d958c8c058b974c82d7af288af73
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