Commit 516f3f6c authored by Lubomir Rintel's avatar Lubomir Rintel

bluetooth: fix an assert failure on creation cancellation

  $ nm-connection-editor --create --type bluetooth
  <ESC>
  GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
parent 9d79ffdb
Pipeline #21111 passed with stages
in 16 minutes and 11 seconds
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment