]> Dogcows Code - chaz/openbox/blobdiff - plugins/keyboard/tree.c
prefix and capitalize the ObFocusFallbackType enum
[chaz/openbox] / plugins / keyboard / tree.c
index c0ea2f4958071d4f97d194bd69597fe19437936e..e60962f30516373863b6903ff14b4a590948e095 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 (sit = tree->actions; sit != NULL; sit = sit->next)
+                action_free(sit->data);
+           g_slist_free(tree->actions);
        }
        g_free(tree);
        tree = c;
This page took 0.022544 seconds and 4 git commands to generate.