[glib-networking] openssl: fix leak during connection initialization
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking] openssl: fix leak during connection initialization
- Date: Tue, 31 Dec 2019 19:29:13 +0000 (UTC)
commit ee6e36ab80505bad8fd96c3d606291a5187bbb7f
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Tue Dec 31 13:28:24 2019 -0600
openssl: fix leak during connection initialization
This parallels the leak fixed in c5d965b2.
tls/openssl/gtlsconnection-openssl.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/tls/openssl/gtlsconnection-openssl.c b/tls/openssl/gtlsconnection-openssl.c
index 2e728f9..d751344 100644
--- a/tls/openssl/gtlsconnection-openssl.c
+++ b/tls/openssl/gtlsconnection-openssl.c
@@ -543,6 +543,8 @@ g_tls_connection_openssl_initable_init (GInitable *initable,
SSL_set_bio (ssl, priv->bio, priv->bio);
+ g_object_unref (base_io_stream);
+
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]