gio: avoid g_object_ref(NULL) in g_dbus_object_manager_client_finalize
authorSyncEvolution Nightly Testing <syncevolution@syncevolution.org>
Thu, 10 Jul 2014 09:52:26 +0000 (09:52 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 14 Jul 2014 12:35:11 +0000 (08:35 -0400)
commitf62c8fce8e7f9ae102de308941423006e419cdf3
treef6fdb316c6451bf35c820067ec7744cf5914f32e
parentb458d3da325c94308f442cebe897c6648938c119
gio: avoid g_object_ref(NULL) in g_dbus_object_manager_client_finalize

When establishing a D-Bus connection failed, g_dbus_object_manager_client_finalize()
calls g_object_ref(manager->priv->connection) when that pointer is NULL,
which is considered and logged as error by glib.

https://bugzilla.gnome.org/show_bug.cgi?id=732984
gio/gdbusobjectmanagerclient.c