summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c
index ddd1d4a..5374d7c 100644
--- a/src/device.c
+++ b/src/device.c
@@ -829,6 +829,7 @@ int device_add(struct usb_device *usbdev)
829 vh.padding = 0; 829 vh.padding = 0;
830 if((res = send_packet(dev, MUX_PROTO_VERSION, &vh, NULL, 0)) < 0) { 830 if((res = send_packet(dev, MUX_PROTO_VERSION, &vh, NULL, 0)) < 0) {
831 usbmuxd_log(LL_ERROR, "Error sending version request packet to device %d", id); 831 usbmuxd_log(LL_ERROR, "Error sending version request packet to device %d", id);
832 free(dev->pktbuf);
832 free(dev); 833 free(dev);
833 return res; 834 return res;
834 } 835 }