summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2017-12-08 00:42:38 +0700
committerGravatar Nikias Bassen2017-12-08 00:42:38 +0700
commit344729536e49d6a98aa05d76a3637856748911cd (patch)
treea4b9f575754f1689d88d397bb38b8235db47efa6
parentb7feed9f5a62833c1df3f503fd3693e2ed2e4738 (diff)
downloadlibimobiledevice-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.c1
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);