diff options
author | Jonathan Beck | 2008-08-17 22:17:53 +0200 |
---|---|---|
committer | Jonathan Beck | 2008-08-21 19:13:35 +0200 |
commit | 89f0fd84b2c56e78c080ad4420b541eb8c96a9f2 (patch) | |
tree | c327a5937095ed591bf0863ab48db2562f67cef1 /src/lockdown.c | |
parent | ef6206f51596d3c643dc0efe441ecaa0159f5632 (diff) | |
download | libimobiledevice-89f0fd84b2c56e78c080ad4420b541eb8c96a9f2.tar.gz libimobiledevice-89f0fd84b2c56e78c080ad4420b541eb8c96a9f2.tar.bz2 |
fix ssl_session memory leak.
Diffstat (limited to 'src/lockdown.c')
-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 7f48dda..def62ea 100644 --- a/src/lockdown.c +++ b/src/lockdown.c @@ -101,6 +101,7 @@ void lockdownd_close(lockdownd_client *control) { } if (control->ssl_session) gnutls_deinit(*control->ssl_session); + free(control->ssl_session); free(control); } |