summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}
}