summaryrefslogtreecommitdiff
path: root/src/connection-editor/page-bluetooth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/connection-editor/page-bluetooth.c')
-rw-r--r--src/connection-editor/page-bluetooth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/connection-editor/page-bluetooth.c b/src/connection-editor/page-bluetooth.c
index f6a25d85..9fed7a83 100644
--- a/src/connection-editor/page-bluetooth.c
+++ b/src/connection-editor/page-bluetooth.c
@@ -274,7 +274,8 @@ out:
nma_mobile_wizard_destroy (wizard);
g_object_unref (info->client);
- g_object_unref (info->connection);
+ g_clear_object (&info->connection);
+
g_free (info);
}