[glib] gdbus: Don't pass an unintialized GError pointer



commit 7ff248e822af910e95b68a352793b34db0cd8f8b
Author: David Zeuthen <davidz redhat com>
Date:   Thu Jun 9 13:29:58 2011 -0400

    gdbus: Don't pass an unintialized GError pointer
    
    Signed-off-by: David Zeuthen <davidz redhat com>

 gio/gdbus-tool.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gio/gdbus-tool.c b/gio/gdbus-tool.c
index 454528b..10b6a08 100644
--- a/gio/gdbus-tool.c
+++ b/gio/gdbus-tool.c
@@ -1426,6 +1426,7 @@ introspect_do (GDBusConnection *c,
   node = NULL;
   result = NULL;
 
+  error = NULL;
   result = g_dbus_connection_call_sync (c,
                                         opt_introspect_dest,
                                         object_path,



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