From 8184f352eadf3cdfdb66db66dfe4b890525063b7 Mon Sep 17 00:00:00 2001 From: Aaron Burghardt Date: Sun, 30 Jun 2013 20:48:23 -0400 Subject: Fixed leaked lockdowns client object in do_post_notification(). --- tools/idevicebackup2.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/idevicebackup2.c') 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) -- cgit v1.1-32-gdbae