diff options
Diffstat (limited to 'src/mobilebackup2.c')
| -rw-r--r-- | src/mobilebackup2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mobilebackup2.c b/src/mobilebackup2.c index c72823e..c16da9a 100644 --- a/src/mobilebackup2.c +++ b/src/mobilebackup2.c | |||
| @@ -116,6 +116,7 @@ mobilebackup2_error_t mobilebackup2_client_free(mobilebackup2_client_t client) | |||
| 116 | return MOBILEBACKUP2_E_INVALID_ARG; | 116 | return MOBILEBACKUP2_E_INVALID_ARG; |
| 117 | mobilebackup2_error_t err = MOBILEBACKUP2_E_SUCCESS; | 117 | mobilebackup2_error_t err = MOBILEBACKUP2_E_SUCCESS; |
| 118 | if (client->parent) { | 118 | if (client->parent) { |
| 119 | device_link_service_disconnect(client->parent, NULL); | ||
| 119 | err = mobilebackup2_error(device_link_service_client_free(client->parent)); | 120 | err = mobilebackup2_error(device_link_service_client_free(client->parent)); |
| 120 | } | 121 | } |
| 121 | free(client); | 122 | free(client); |
