[glib/mcatanzaro/gdbus-dir-addresses: 96/97] gdbus: Fix minor leak in peer test



commit e1cfed74fdd4bd119f83e7170cf002bf5df5ad35
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]