[glib-networking/wip/openssl: 36/41] Do not leak the session
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking/wip/openssl: 36/41] Do not leak the session
- Date: Tue, 19 Jan 2016 08:25:14 +0000 (UTC)
commit d86d24eeb78d18a6514099af681961d797ebc94f
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon Nov 9 12:22:23 2015 +0100
Do not leak the session
tls/openssl/gtlsserverconnection-openssl.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tls/openssl/gtlsserverconnection-openssl.c b/tls/openssl/gtlsserverconnection-openssl.c
index 8ae2bb8..68be73a 100644
--- a/tls/openssl/gtlsserverconnection-openssl.c
+++ b/tls/openssl/gtlsserverconnection-openssl.c
@@ -68,6 +68,7 @@ g_tls_server_connection_openssl_finalize (GObject *object)
SSL_free (priv->ssl);
SSL_CTX_free (priv->ssl_ctx);
+ SSL_SESSION_free (priv->session);
G_OBJECT_CLASS (g_tls_server_connection_openssl_parent_class)->finalize (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]