GDBus: Take a reference to the GDBusInterfaceInfo object

Things will still work fine if the GDBusInterfaceInfo is allocated
statically because if so the ref_count will be -1.

Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
David Zeuthen
2010-06-30 12:19:28 -04:00
parent 5ac2722975
commit 87fa3a6e75
2 changed files with 4 additions and 2 deletions

View File

@@ -822,7 +822,7 @@ dmp_on_new_connection (GDBusServer *server,
data,
NULL,
&error);
//g_dbus_node_info_unref (node);
g_dbus_node_info_unref (node);
}
static gpointer