summaryrefslogtreecommitdiffstats
path: root/src/mobilebackup2.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2011-04-28 19:42:21 +0200
committerGravatar Martin Szulecki2011-04-28 19:42:21 +0200
commit8ecfbc77ccaaa0c017aae5d944efec47bd2c6171 (patch)
treedcb78b94a2098dcf5782cfc0b355df26167947e5 /src/mobilebackup2.c
parentde9cd870f92abe194904291887828fff9401d020 (diff)
downloadlibimobiledevice-8ecfbc77ccaaa0c017aae5d944efec47bd2c6171.tar.gz
libimobiledevice-8ecfbc77ccaaa0c017aae5d944efec47bd2c6171.tar.bz2
idevicebackup2: Improve disconnect behavior to cleanly disconnect from agent
Diffstat (limited to 'src/mobilebackup2.c')
-rw-r--r--src/mobilebackup2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mobilebackup2.c b/src/mobilebackup2.c
index a595b01..c72823e 100644
--- a/src/mobilebackup2.c
+++ b/src/mobilebackup2.c
@@ -116,7 +116,6 @@ mobilebackup2_error_t mobilebackup2_client_free(mobilebackup2_client_t client)
return MOBILEBACKUP2_E_INVALID_ARG;
mobilebackup2_error_t err = MOBILEBACKUP2_E_SUCCESS;
if (client->parent) {
- device_link_service_disconnect(client->parent);
err = mobilebackup2_error(device_link_service_client_free(client->parent));
}
free(client);