USB: yurex: fix memory leak and corrupted messages
authorTomoki Sekiyama <tomoki.sekiyama@gmail.com>
Sat, 2 Oct 2010 21:59:06 +0000 (06:59 +0900)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:21:52 +0000 (10:21 -0700)
commite06ea97fa47611992a5a61058729cf8e83bf6fda
tree11f56ee7991106409bc6c4d51af1db567a758f84
parent1b62d2583963d5974974aa923214bada7aa7b5d1
USB: yurex: fix memory leak and corrupted messages

This fixes the memory leak on disconnecting the device.
In addition, it fixes some messages corrupted by incorrect encoding.

Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/yurex.c