[libsoup/mraudsepp/fix-connection-leak] connection: Fix memory leak in new_tls_connection
- From: Mart Raudsepp <mraudsepp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/mraudsepp/fix-connection-leak] connection: Fix memory leak in new_tls_connection
- Date: Thu, 11 Nov 2021 15:05:02 +0000 (UTC)
commit c7e251644c618ce5193881b2a16374ababc2ccf8
Author: Mart Raudsepp <leio gentoo org>
Date: Thu Nov 11 16:47:34 2021 +0200
connection: Fix memory leak in new_tls_connection
libsoup/soup-connection.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/libsoup/soup-connection.c b/libsoup/soup-connection.c
index f2e35f47..38a91e46 100644
--- a/libsoup/soup-connection.c
+++ b/libsoup/soup-connection.c
@@ -585,6 +585,7 @@ new_tls_connection (SoupConnection *conn,
"advertised-protocols", advertised_protocols->pdata,
NULL);
+ g_object_unref (tls_interaction);
g_ptr_array_unref (advertised_protocols);
if (!tls_connection)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]