[glib-networking/mcatanzaro/base-rebase: 45/55] base: fix leak in g_tls_connection_base_create_source()
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking/mcatanzaro/base-rebase: 45/55] base: fix leak in g_tls_connection_base_create_source()
- Date: Wed, 15 May 2019 14:06:23 +0000 (UTC)
commit ebc14bf419014a69191af1e7d5e288de6979871b
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Mon May 13 11:46:01 2019 -0500
base: fix leak in g_tls_connection_base_create_source()
Oops.
tls/base/gtlsconnection-base.c | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/tls/base/gtlsconnection-base.c b/tls/base/gtlsconnection-base.c
index e2bf206..76defda 100644
--- a/tls/base/gtlsconnection-base.c
+++ b/tls/base/gtlsconnection-base.c
@@ -1026,8 +1026,6 @@ g_tls_connection_base_create_source (GTlsConnectionBase *tls,
GSource *source, *cancellable_source;
GTlsConnectionBaseSource *tls_source;
- source = g_source_new (&tls_source_funcs, sizeof (GTlsConnectionBaseSource));
-
if (g_tls_connection_base_is_dtls (tls))
{
source = g_source_new (&dtls_source_funcs,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]