diff options
author | Martin Szulecki | 2013-11-20 16:53:40 +0100 |
---|---|---|
committer | Martin Szulecki | 2013-11-20 17:04:04 +0100 |
commit | b038ac6e18fc6c58e396104d5bcc67b49105ebfb (patch) | |
tree | 132e7460594b12b2986a413f4521d3c59e205bbe /src | |
parent | f2f7cca119dfbae9b302b6ac4624f4d6cf63ac41 (diff) | |
download | idevicerestore-b038ac6e18fc6c58e396104d5bcc67b49105ebfb.tar.gz idevicerestore-b038ac6e18fc6c58e396104d5bcc67b49105ebfb.tar.bz2 |
restore: Make sure to free MsgType string after having handled it
Diffstat (limited to 'src')
-rw-r--r-- | src/restore.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/restore.c b/src/restore.c index 5978568..9729e72 100644 --- a/src/restore.c +++ b/src/restore.c @@ -1835,6 +1835,9 @@ int restore_device(struct idevicerestore_client_t* client, plist_t build_identit debug_plist(message); } + if (type) + free(type); + plist_free(message); message = NULL; } |