summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Aaron Burghardt2013-06-30 20:48:23 -0400
committerGravatar Aaron Burghardt2013-06-30 21:28:32 -0400
commit8184f352eadf3cdfdb66db66dfe4b890525063b7 (patch)
tree51aa7675b38d0215b31bf2dc3ee1831402263682 /tools
parent9ed89569eaa4da350e45c2446413f048c398a1f7 (diff)
downloadlibimobiledevice-8184f352eadf3cdfdb66db66dfe4b890525063b7.tar.gz
libimobiledevice-8184f352eadf3cdfdb66db66dfe4b890525063b7.tar.bz2
Fixed leaked lockdowns client object in do_post_notification().
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicebackup2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c
index fe2efdc..45ff489 100644
--- a/tools/idevicebackup2.c
+++ b/tools/idevicebackup2.c
@@ -505,6 +505,7 @@ static void do_post_notification(idevice_t device, const char *notification)
lockdownd_service_descriptor_free(service);
service = NULL;
}
+ lockdownd_client_free(lockdown);
}
static void print_progress_real(double progress, int flush)