|
@@ -167,6 +167,7 @@ static int qcprobe(struct usb_serial *serial, const struct usb_device_id *id)
|
|
"Could not set interface, error %d\n",
|
|
"Could not set interface, error %d\n",
|
|
retval);
|
|
retval);
|
|
retval = -ENODEV;
|
|
retval = -ENODEV;
|
|
|
|
+ kfree(data);
|
|
}
|
|
}
|
|
} else if (ifnum == 2) {
|
|
} else if (ifnum == 2) {
|
|
dbg("Modem port found");
|
|
dbg("Modem port found");
|
|
@@ -191,6 +192,7 @@ static int qcprobe(struct usb_serial *serial, const struct usb_device_id *id)
|
|
"Could not set interface, error %d\n",
|
|
"Could not set interface, error %d\n",
|
|
retval);
|
|
retval);
|
|
retval = -ENODEV;
|
|
retval = -ENODEV;
|
|
|
|
+ kfree(data);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
break;
|
|
break;
|