summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-07-17 16:51:16 +0200
committerGravatar Nikias Bassen2012-07-17 16:51:16 +0200
commit7585007e35ab84750f8ace8e1cc43f6b53c75c38 (patch)
tree7cab3f18481a3f026b1de5ea885326d8a0a8d0e2
parentdaa24e14060275065fbfda12ed945ee2c7681f5a (diff)
downloadidevicerestore-7585007e35ab84750f8ace8e1cc43f6b53c75c38.tar.gz
idevicerestore-7585007e35ab84750f8ace8e1cc43f6b53c75c38.tar.bz2
restore: Make sure to call plist_free on a plist, not free
-rw-r--r--src/restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/restore.c b/src/restore.c
index da8d258..b46702d 100644
--- a/src/restore.c
+++ b/src/restore.c
@@ -1727,7 +1727,7 @@ leave:
free(bbfwtmp);
}
if (response) {
- free(response);
+ plist_free(response);
}
return res;