]> Dogcows Code - chaz/openbox/blobdiff - plugins/keyboard/tree.c
all my changes while i was offline.
[chaz/openbox] / plugins / keyboard / tree.c
index c0ea2f4958071d4f97d194bd69597fe19437936e..896f77bb4cc1382f4390f7ff26aa84712812e7b1 100644 (file)
@@ -11,10 +11,13 @@ void tree_destroy(KeyBindingTree *tree)
        c = tree->first_child;
        if (c == NULL) {
            GList *it;
+            GSList *sit;
            for (it = tree->keylist; it != NULL; it = it->next)
                g_free(it->data);
            g_list_free(tree->keylist);
-            action_free(tree->action);
+           for (it = tree->actions; it != NULL; it = it->next)
+                action_free(it->data);
+           g_slist_free(tree->actions);
        }
        g_free(tree);
        tree = c;
This page took 0.020995 seconds and 4 git commands to generate.