diff options
Diffstat (limited to 'src/libusbmuxd.c')
-rw-r--r-- | src/libusbmuxd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libusbmuxd.c b/src/libusbmuxd.c index 11af687..725ed53 100644 --- a/src/libusbmuxd.c +++ b/src/libusbmuxd.c @@ -1126,6 +1126,7 @@ int usbmuxd_read_buid(char **buid) } plist_free(pl); } + socket_close(sfd); return ret; } @@ -1173,6 +1174,7 @@ int usbmuxd_read_pair_record(const char* record_id, char **record_data, uint32_t } plist_free(pl); } + socket_close(sfd); return ret; } @@ -1211,6 +1213,7 @@ int usbmuxd_save_pair_record(const char* record_id, const char *record_data, uin } } plist_free(data); + socket_close(sfd); return ret; } @@ -1247,6 +1250,7 @@ int usbmuxd_delete_pair_record(const char* record_id) DEBUG(1, "%s: Error: deleting pair record failed: %d\n", __func__, ret); } } + socket_close(sfd); return ret; } |