diff options
author | Jonathan Beck | 2008-08-12 22:16:15 +0200 |
---|---|---|
committer | Jonathan Beck | 2008-08-21 18:58:17 +0200 |
commit | cb4f79a28c6bcd4677c576e57bcde7c9957789d6 (patch) | |
tree | 150639957160ff1169d3082cb69613ef0e770aa2 | |
parent | 0496edd88632b0bf83a78bbf5f665569f5b71e1a (diff) | |
download | libplist-cb4f79a28c6bcd4677c576e57bcde7c9957789d6.tar.gz libplist-cb4f79a28c6bcd4677c576e57bcde7c9957789d6.tar.bz2 |
use gnutls function to free SSL session structure.
-rw-r--r-- | src/lockdown.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lockdown.c b/src/lockdown.c index f02e783..76dbf7b 100644 --- a/src/lockdown.c +++ b/src/lockdown.c @@ -100,7 +100,7 @@ void lockdownd_close(lockdownd_client *control) { mux_close_connection(control->connection); } - if (control->ssl_session) free(control->ssl_session); + if (control->ssl_session) gnutls_deinit(*control->ssl_session); free(control); } |