diff options
Diffstat (limited to 'drivers/usb/serial/kl5kusb105.c')
-rw-r--r-- | drivers/usb/serial/kl5kusb105.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/serial/kl5kusb105.c b/drivers/usb/serial/kl5kusb105.c index 8eef91ba4b1c..cc0ba38d4748 100644 --- a/drivers/usb/serial/kl5kusb105.c +++ b/drivers/usb/serial/kl5kusb105.c | |||
@@ -321,6 +321,7 @@ err_cleanup: | |||
321 | usb_free_urb(priv->write_urb_pool[j]); | 321 | usb_free_urb(priv->write_urb_pool[j]); |
322 | } | 322 | } |
323 | } | 323 | } |
324 | kfree(priv); | ||
324 | usb_set_serial_port_data(serial->port[i], NULL); | 325 | usb_set_serial_port_data(serial->port[i], NULL); |
325 | } | 326 | } |
326 | return -ENOMEM; | 327 | return -ENOMEM; |