summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2012-06-28 16:07:19 +0200
committerJiří Klimeš <jklimes@redhat.com>2012-06-28 16:07:19 +0200
commitfc5482e54613968bf83db3409fd376221e61df3c (patch)
tree445fd8599f42d989f051f8430f66e5c7e92ef871
parent9fa297965698ce95189ad56eded1713be3f61c1e (diff)
downloadnetwork-manager-applet-fc5482e54613968bf83db3409fd376221e61df3c.tar.gz
migration: fix a crash in g_object_unref() call
DBusGConnection has to be freed via dbus_g_connection_unref()
-rw-r--r--src/migration-tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/migration-tool.c b/src/migration-tool.c
index c06a5336..f7e44ad6 100644
--- a/src/migration-tool.c
+++ b/src/migration-tool.c
@@ -91,7 +91,7 @@ main (int argc, char **argv)
nm_gconf_move_connections_to_system (import_cb, settings);
g_object_unref (settings);
- g_object_unref (bus);
+ dbus_g_connection_unref (bus);
return success ? 0 : 1;
}