summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/idevicerestore.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index 82629fa..18540f8 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -912,6 +912,12 @@ int idevicerestore_start(struct idevicerestore_client_t* client)
idevicerestore_progress(client, RESTORE_NUM_STEPS-1, 1.0);
}
+ if (buildmanifest)
+ plist_free(buildmanifest);
+
+ if (build_identity)
+ plist_free(build_identity);
+
return result;
}