diff options
author | Martin Szulecki | 2013-11-20 16:51:09 +0100 |
---|---|---|
committer | Martin Szulecki | 2013-11-20 17:04:04 +0100 |
commit | f2f7cca119dfbae9b302b6ac4624f4d6cf63ac41 (patch) | |
tree | 30213781442e4c8e37c2b7f7f601bcbb80b4e489 | |
parent | 38c18a9f0b8a62ee110094ddd7e44e7e143018c8 (diff) | |
download | idevicerestore-f2f7cca119dfbae9b302b6ac4624f4d6cf63ac41.tar.gz idevicerestore-f2f7cca119dfbae9b302b6ac4624f4d6cf63ac41.tar.bz2 |
idevicerestore: Fix memory leak in build_manifest_check_compatibility()
-rw-r--r-- | src/idevicerestore.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c index 18540f8..dcd538e 100644 --- a/src/idevicerestore.c +++ b/src/idevicerestore.c @@ -1622,6 +1622,7 @@ int build_manifest_check_compatibility(plist_t build_manifest, const char* produ plist_get_string_val(prod, &val); if (val && (strcmp(val, product) == 0)) { res = 0; + free(val); break; } } |