summaryrefslogtreecommitdiffstats
path: root/src/idevicerestore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/idevicerestore.c')
-rw-r--r--src/idevicerestore.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index acf171d..01901d6 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -1740,10 +1740,8 @@ int personalize_component(const char *component_name, const unsigned char* compo
memcpy(stitched_component, component_data, component_size);
}
}
-
- if (component_blob)
- free(component_blob);
}
+ free(component_blob);
if (idevicerestore_keep_pers) {
write_file(component_name, stitched_component, stitched_component_size);