USB: fix memory leak in cdc-acm
authorOliver Neukum <oliver@neukum.org>
Tue, 21 Oct 2008 08:39:04 +0000 (10:39 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Oct 2008 17:05:29 +0000 (10:05 -0700)
commita496c64f1363ec4d67ebdc1e1f619ad6372a574c
treec370f2167bbe2e4677bb7c48aa2cd7f8c2d888a6
parente8fab4ce763c36869624c5388714ff19c30a91a7
USB: fix memory leak in cdc-acm

This fixes a memory leak on disconnect in cdc-acm

Thanks to 施金前 for finding it.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/cdc-acm.c