Upgrade to 4.4.50-rt62
[kvmfornfv.git] / kernel / drivers / usb / serial / garmin_gps.c
index db591d1..37d0e8c 100644 (file)
@@ -1044,6 +1044,7 @@ static int garmin_write_bulk(struct usb_serial_port *port,
                   "%s - usb_submit_urb(write bulk) failed with status = %d\n",
                                __func__, status);
                count = status;
+               kfree(buffer);
        }
 
        /* we are done with this urb, so let the host driver