[glib-networking/mcatanzaro/base-rebase: 49/55] Fix GSource leak in test_async_implicit_handshake()
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking/mcatanzaro/base-rebase: 49/55] Fix GSource leak in test_async_implicit_handshake()
- Date: Wed, 15 May 2019 14:06:43 +0000 (UTC)
commit c8cb2ba06923e9d6577ac4d28c8b507ece8d77da
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Tue May 14 13:30:26 2019 -0500
Fix GSource leak in test_async_implicit_handshake()
It's unclear why this was not previously a problem, but we certainly
need to unref the source after attaching it.
tls/tests/connection.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/tls/tests/connection.c b/tls/tests/connection.c
index 9e54a84..cd7f375 100644
--- a/tls/tests/connection.c
+++ b/tls/tests/connection.c
@@ -1852,6 +1852,7 @@ test_async_implicit_handshake (TestConnection *test, gconstpointer data)
test, NULL);
g_source_attach (input_source, NULL);
+ g_source_unref (input_source);
g_main_loop_run (test->loop);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]