USB: ir-usb: fix double free
authorJohan Hovold <jhovold@gmail.com>
Thu, 13 May 2010 19:02:00 +0000 (21:02 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:45 +0000 (13:21 -0700)
commit2ff78c0c2b67120c8e503268da3f177cae2228a2
tree4c57bfee9bf1501b4ace8008f2f8d8212a756a40
parent16032c4f5b291af541e9114a09ea20ff5a0dc474
USB: ir-usb: fix double free

If the user specifies a custom bulk buffer size we get a double free at
port release.

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/ir-usb.c