summaryrefslogtreecommitdiffstats
path: root/src/idevicerestore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/idevicerestore.c')
-rw-r--r--src/idevicerestore.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index 70afd77..30ea7f9 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -146,6 +146,7 @@ static int load_version_data(struct idevicerestore_client_t* client)
free(verbuf);
if (!client->version_data) {
+ remove(version_xml);
error("ERROR: Cannot parse plist data from '%s'.\n", version_xml);
return -1;
}