summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lockdown.c2
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);
}