diff options
author | Martin Szulecki | 2013-11-20 16:49:04 +0100 |
---|---|---|
committer | Martin Szulecki | 2013-11-20 17:04:04 +0100 |
commit | 38c18a9f0b8a62ee110094ddd7e44e7e143018c8 (patch) | |
tree | 95f4a0b2f5e920c92cc84c85523bcbe2908fe4a0 | |
parent | 47eba3dd43ce36c05b060082c7e32682d9be99bb (diff) | |
download | idevicerestore-38c18a9f0b8a62ee110094ddd7e44e7e143018c8.tar.gz idevicerestore-38c18a9f0b8a62ee110094ddd7e44e7e143018c8.tar.bz2 |
idevicerestore: Free build identity and manifest plist upon exiting
-rw-r--r-- | src/idevicerestore.c | 6 |
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; } |