summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Aaron Burghardt2013-09-25 15:39:40 -0400
committerGravatar Martin Szulecki2013-10-24 14:28:57 +0200
commite8ef5fca21f62b1bd2a82764b3ca867e0ba968ea (patch)
tree6468b696d57ad07555b1d67db90a95736c85401a /src
parentb3cfe4e5dcec24bf86e2143d1e82e1ca37cd8c99 (diff)
downloadidevicerestore-e8ef5fca21f62b1bd2a82764b3ca867e0ba968ea.tar.gz
idevicerestore-e8ef5fca21f62b1bd2a82764b3ca867e0ba968ea.tar.bz2
Fixed misuse of free() instead of plist_free().
Signed-off-by: Martin Szulecki <m.szulecki@libimobiledevice.org>
Diffstat (limited to 'src')
-rw-r--r--src/tss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tss.c b/src/tss.c
index b6a0260..d3a52da 100644
--- a/src/tss.c
+++ b/src/tss.c
@@ -136,7 +136,7 @@ plist_t tss_create_request(plist_t build_identity, uint64_t ecid, unsigned char*
break;
if (!manifest_entry || plist_get_node_type(manifest_entry) != PLIST_DICT) {
error("ERROR: Unable to fetch BuildManifest entry\n");
- free(tss_request);
+ plist_free(tss_request);
return NULL;
}