From 48e3b31042c9a86d06740f2c73cbb6ffa140ba54 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 15 Jun 2010 22:06:56 -0400 Subject: [PATCH] Properly initialize GError MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Pointed out by Florian Müllner in bug #621702 --- gio/gdbusproxy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gio/gdbusproxy.c b/gio/gdbusproxy.c index 1344b7c..eaae1dc 100644 --- a/gio/gdbusproxy.c +++ b/gio/gdbusproxy.c @@ -1392,6 +1392,7 @@ get_connection_cb (GObject *source_object, GetConnectionData *data = user_data; GError *error; + error = NULL; data->proxy->priv->connection = g_bus_get_finish (res, &error); if (data->proxy->priv->connection == NULL) { -- 2.7.4