diff options
Diffstat (limited to 'src/libusbmuxd.c')
-rw-r--r-- | src/libusbmuxd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libusbmuxd.c b/src/libusbmuxd.c index 62af3e2..4a52f67 100644 --- a/src/libusbmuxd.c +++ b/src/libusbmuxd.c @@ -271,7 +271,7 @@ static usbmuxd_device_info_t *device_info_from_plist(plist_t props) if (!devinfo->udid[0]) { LIBUSBMUXD_ERROR("%s: Failed to get SerialNumber (UDID)!\n", __func__); free(devinfo); - devinfo = NULL; + return NULL; } if (!devinfo->conn_type) { LIBUSBMUXD_ERROR("%s: Failed to get ConnectionType!\n", __func__); |