USB: fix double frees in error code paths of ipaq driver
authorOliver Neukum <oliver@neukum.org>
Mon, 17 Sep 2007 18:15:53 +0000 (20:15 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:55:26 +0000 (14:55 -0700)
commited6590a861a16276db34ee626375fa79f3369ac3
treeb8f20b07045e42ba77eea677ac7314a6e8b0d62c
parent0e66fb3492442faa17fc7f27a3eba35b3c811e38
USB: fix double frees in error code paths of ipaq driver

the error code paths can be enter with buffers to freed buffers.
Serial core would do a kfree() on memory already freed.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ipaq.c