diff options
author | Nikias Bassen | 2017-12-08 00:42:38 +0700 |
---|---|---|
committer | Nikias Bassen | 2017-12-08 00:42:38 +0700 |
commit | 344729536e49d6a98aa05d76a3637856748911cd (patch) | |
tree | a4b9f575754f1689d88d397bb38b8235db47efa6 | |
parent | b7feed9f5a62833c1df3f503fd3693e2ed2e4738 (diff) | |
download | libimobiledevice-344729536e49d6a98aa05d76a3637856748911cd.tar.gz libimobiledevice-344729536e49d6a98aa05d76a3637856748911cd.tar.bz2 |
lockdown: Plug small memory leak
Credit to Rudolf Tammekivi (Blefish), see issue #599
-rw-r--r-- | src/lockdown.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lockdown.c b/src/lockdown.c index 071697d..9d6d17d 100644 --- a/src/lockdown.c +++ b/src/lockdown.c @@ -718,6 +718,7 @@ LIBIMOBILEDEVICE_API lockdownd_error_t lockdownd_client_new_with_handshake(idevi } free(s_version); } + plist_free(p_version); } userpref_read_pair_record(client_loc->udid, &pair_record); |