diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2018-07-23 20:49:18 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2018-07-24 12:35:52 +0200 |
commit | 516f3f6c70ef9694d6004c64d50a9f3cd2725ab7 (patch) | |
tree | 3553d73ba550dbe6cdf72e0385084e6789016522 | |
parent | 9d79ffdb148b31c7194c66946c87b6cd57ed54a3 (diff) | |
download | network-manager-applet-lr/hold-import.tar.gz |
bluetooth: fix an assert failure on creation cancellationlr/hold-import
$ nm-connection-editor --create --type bluetooth
<ESC>
GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
-rw-r--r-- | src/connection-editor/page-bluetooth.c | 3 |
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); } |