summaryrefslogtreecommitdiff
path: root/openbox/keytree.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-09-26 16:47:12 +0000
committerDana Jansens <danakj@orodu.net>2003-09-26 16:47:12 +0000
commitadb9bb700f3235728dacc1d3e3daad81abd93e9a (patch)
tree59f659d62fbd6ae6e642276823d6484e17afa13f /openbox/keytree.c
parent9ed3baf9dbf0c4c1dcf4b63262eca03247b50a0d (diff)
give actions a ref count
Diffstat (limited to 'openbox/keytree.c')
-rw-r--r--openbox/keytree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/keytree.c b/openbox/keytree.c
index 960b0506..02ad3cad 100644
--- a/openbox/keytree.c
+++ b/openbox/keytree.c
@@ -34,7 +34,7 @@ void tree_destroy(KeyBindingTree *tree)
g_free(it->data);
g_list_free(tree->keylist);
for (sit = tree->actions; sit != NULL; sit = sit->next)
- action_free(sit->data);
+ action_unref(sit->data);
g_slist_free(tree->actions);
}
g_free(tree);