[glib/mcatanzaro/gdbus-dir-addresses: 5/6] gdbus: Fix minor leak in peer test
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/mcatanzaro/gdbus-dir-addresses: 5/6] gdbus: Fix minor leak in peer test
- Date: Thu, 13 Jun 2019 16:10:38 +0000 (UTC)
commit 13771e57f801efc6a9bc169ca171507f133a5263
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Wed Jun 12 14:49:34 2019 -0500
gdbus: Fix minor leak in peer test
This has to be freed even on Windows.
gio/tests/gdbus-peer.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gio/tests/gdbus-peer.c b/gio/tests/gdbus-peer.c
index 3a6c94829..0e0183923 100644
--- a/gio/tests/gdbus-peer.c
+++ b/gio/tests/gdbus-peer.c
@@ -1773,8 +1773,7 @@ main (int argc,
g_main_loop_unref (loop);
g_free (test_guid);
g_dbus_node_info_unref (introspection_data);
- if (is_unix)
- g_free (tmp_address);
+ g_free (tmp_address);
if (tmpdir)
{
g_rmdir (tmpdir);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]