[glib-networking/wip/openssl] Do not leak the session
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking/wip/openssl] Do not leak the session
- Date: Sun, 22 May 2016 20:16:57 +0000 (UTC)
commit 200397b3a35c65f009e096a3a7cf821202de357f
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sun May 22 22:16:35 2016 +0200
Do not leak the session
tls/openssl/gtlsclientconnection-openssl.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tls/openssl/gtlsclientconnection-openssl.c b/tls/openssl/gtlsclientconnection-openssl.c
index 6742086..4608f7e 100644
--- a/tls/openssl/gtlsclientconnection-openssl.c
+++ b/tls/openssl/gtlsclientconnection-openssl.c
@@ -94,6 +94,7 @@ g_tls_client_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_client_connection_openssl_parent_class)->finalize (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]