[glib: 2/5] tests: Fix a minor memory leak in gdbus-proxy



commit 938f716c2f824c07b6c5063c60c757ebf703e030
Author: Philip Withnall <withnall endlessm com>
Date:   Thu Mar 7 13:04:12 2019 +0000

    tests: Fix a minor memory leak in gdbus-proxy
    
    Signed-off-by: Philip Withnall <withnall endlessm com>

 gio/tests/gdbus-proxy.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gio/tests/gdbus-proxy.c b/gio/tests/gdbus-proxy.c
index 5d6261648..f40492bed 100644
--- a/gio/tests/gdbus-proxy.c
+++ b/gio/tests/gdbus-proxy.c
@@ -952,6 +952,7 @@ main (int   argc,
   ret = session_bus_run();
 
   g_dbus_node_info_unref (introspection_data);
+  g_main_loop_unref (loop);
 
   return ret;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]