summaryrefslogtreecommitdiffstats
path: root/src/lockdown.c
diff options
context:
space:
mode:
authorGravatar Jonathan Beck2008-08-17 22:17:53 +0200
committerGravatar Jonathan Beck2008-08-21 19:13:35 +0200
commit89f0fd84b2c56e78c080ad4420b541eb8c96a9f2 (patch)
treec327a5937095ed591bf0863ab48db2562f67cef1 /src/lockdown.c
parentef6206f51596d3c643dc0efe441ecaa0159f5632 (diff)
downloadlibplist-89f0fd84b2c56e78c080ad4420b541eb8c96a9f2.tar.gz
libplist-89f0fd84b2c56e78c080ad4420b541eb8c96a9f2.tar.bz2
fix ssl_session memory leak.
Diffstat (limited to 'src/lockdown.c')
-rw-r--r--src/lockdown.c1
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);
}