summaryrefslogtreecommitdiffstats
path: root/src/restore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/restore.c')
-rw-r--r--src/restore.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/restore.c b/src/restore.c
index 5978568..9729e72 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -1835,6 +1835,9 @@ int restore_device(struct idevicerestore_client_t* client, plist_t build_identit
debug_plist(message);
}
+ if (type)
+ free(type);
+
plist_free(message);
message = NULL;
}