[gnome-bluetooth/wip/hadess/bluetooth-off-turn-off] fixup! lib: Add debug when manipulating model



commit aac7e0ea867408ca8e9e07f876f3fb62100073e9
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Dec 10 16:57:41 2021 +0100

    fixup! lib: Add debug when manipulating model

 lib/bluetooth-client.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/lib/bluetooth-client.c b/lib/bluetooth-client.c
index 618a5c06..3f1d8d87 100644
--- a/lib/bluetooth-client.c
+++ b/lib/bluetooth-client.c
@@ -538,7 +538,6 @@ default_adapter_changed (GDBusObjectManager   *manager,
 
        tree_path = gtk_tree_model_get_path (GTK_TREE_MODEL (priv->store), &iter);
        priv->default_adapter = gtk_tree_row_reference_new (GTK_TREE_MODEL (priv->store), tree_path);
-       gtk_tree_path_free (tree_path);
 
        gtk_tree_model_get (GTK_TREE_MODEL(priv->store), &iter,
                            BLUETOOTH_COLUMN_DEFAULT, &is_default,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]