diff options
author | Jiří Klimeš <jklimes@redhat.com> | 2012-06-28 16:07:19 +0200 |
---|---|---|
committer | Jiří Klimeš <jklimes@redhat.com> | 2012-06-28 16:07:19 +0200 |
commit | fc5482e54613968bf83db3409fd376221e61df3c (patch) | |
tree | 445fd8599f42d989f051f8430f66e5c7e92ef871 | |
parent | 9fa297965698ce95189ad56eded1713be3f61c1e (diff) | |
download | network-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.c | 2 |
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; } |