summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-11-20 16:51:09 +0100
committerGravatar Martin Szulecki2013-11-20 17:04:04 +0100
commitf2f7cca119dfbae9b302b6ac4624f4d6cf63ac41 (patch)
tree30213781442e4c8e37c2b7f7f601bcbb80b4e489 /src
parent38c18a9f0b8a62ee110094ddd7e44e7e143018c8 (diff)
downloadidevicerestore-f2f7cca119dfbae9b302b6ac4624f4d6cf63ac41.tar.gz
idevicerestore-f2f7cca119dfbae9b302b6ac4624f4d6cf63ac41.tar.bz2
idevicerestore: Fix memory leak in build_manifest_check_compatibility()
Diffstat (limited to 'src')
-rw-r--r--src/idevicerestore.c1
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;
}
}