USB: ir-usb: fix double free
commit7c54f6cf0342d52c1b14e06ecbc116419547ef97
authorJohan Hovold <jhovold@gmail.com>
Thu, 13 May 2010 19:02:00 +0000 (13 21:02 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:10:36 +0000 (5 11:10 -0700)
tree564dcb0aae47b44266199ed356d75be2cc27bc9f
parentb2fd493630af7d8ce9b313b24dc2516566854c57
USB: ir-usb: fix double free

commit 2ff78c0c2b67120c8e503268da3f177cae2228a2 upstream.

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

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