diff options
author | Martin Szulecki | 2012-07-17 16:53:33 +0200 |
---|---|---|
committer | Nikias Bassen | 2012-07-17 16:53:33 +0200 |
commit | 4a89ce076e22a8d20648a07faf585ab3210179b0 (patch) | |
tree | d8df960f10fd7fb589dc393f72e5db5887948c2d | |
parent | 45dc110c6b923a8d9c4e79ab7667a13726c50699 (diff) | |
download | idevicerestore-4a89ce076e22a8d20648a07faf585ab3210179b0.tar.gz idevicerestore-4a89ce076e22a8d20648a07faf585ab3210179b0.tar.bz2 |
restore: Fix double free crash on second run of Trek baseband data handler
-rw-r--r-- | src/restore.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/restore.c b/src/restore.c index b46702d..d0f9363 100644 --- a/src/restore.c +++ b/src/restore.c @@ -1162,6 +1162,7 @@ static int restore_handle_trek_bbfw(const char* bbfwtmp, plist_t response, unsig error("ERROR: out of memory\n"); goto leave; } + blob = NULL; if (zip_add(za, "bbticket.der", zs) == -1) { error("ERROR: could not add bbticket.der to archive\n"); |