summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-11-17 02:39:28 +0100
committerGravatar Martin Szulecki2013-11-30 20:13:59 +0100
commit5d429dddc5ed442ae4699ab34c21b35bacef456b (patch)
treeb5b8b6e051c7b712a848b6f6795cb0b87710f1fa /src
parent223602ec928addb5f917542c473fbfa01c805388 (diff)
downloadlibimobiledevice-5d429dddc5ed442ae4699ab34c21b35bacef456b.tar.gz
libimobiledevice-5d429dddc5ed442ae4699ab34c21b35bacef456b.tar.bz2
lockdown: Do not free session_id again after stop_session already did
Diffstat (limited to 'src')
-rw-r--r--src/lockdown.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lockdown.c b/src/lockdown.c
index ed91e9d..c2e3654 100644
--- a/src/lockdown.c
+++ b/src/lockdown.c
@@ -1549,7 +1549,6 @@ lockdownd_error_t lockdownd_start_session(lockdownd_client_t client, const char
/* if we have a running session, stop current one first */
if (client->session_id) {
lockdownd_stop_session(client, client->session_id);
- free(client->session_id);
}
/* setup request plist */