diff options
-rw-r--r-- | src/lockdown.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lockdown.c b/src/lockdown.c index 60fbf0c..a0bc2f4 100644 --- a/src/lockdown.c +++ b/src/lockdown.c @@ -233,6 +233,10 @@ static lockdownd_error_t lockdownd_client_free_simple(lockdownd_client_t client) } } + if (client->session_id) { + free(client->session_id); + client->session_id = NULL; + } if (client->udid) { free(client->udid); } |