ChangeSet 1.1094.6.10, 2003/03/14 11:10:11-08:00, [EMAIL PROTECTED]

[PATCH] USB: more Edgeport USB Serial Converter driver stuff


 drivers/usb/serial/io_ti.c |    4 ++++
 1 files changed, 4 insertions(+)


diff -Nru a/drivers/usb/serial/io_ti.c b/drivers/usb/serial/io_ti.c
--- a/drivers/usb/serial/io_ti.c        Mon Mar 17 11:46:26 2003
+++ b/drivers/usb/serial/io_ti.c        Mon Mar 17 11:46:26 2003
@@ -1151,8 +1151,12 @@
                                dbg ( "%s - HARDWARE RESET return %d", __FUNCTION__, 
status);
 
                                /* return an error on purpose. */
+                               kfree (firmware_version);
+                               kfree (rom_desc);
+                               kfree (ti_manuf_desc);
                                return -ENODEV;
                        }
+                       kfree (firmware_version);
                }
                // Search for type 0xF2 record (firmware blank record)
                else if ((start_address = TIGetDescriptorAddress (serial, 
I2C_DESC_TYPE_FIRMWARE_BLANK, rom_desc)) != 0) {



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to