summaryrefslogtreecommitdiff
path: root/cmdtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmdtree.c')
-rw-r--r--cmdtree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmdtree.c b/cmdtree.c
index 21c0bd3..5ba5595 100644
--- a/cmdtree.c
+++ b/cmdtree.c
@@ -257,6 +257,7 @@ draw_tree(Drw *drw, int x, int y, int w, int h) {
static void
cleanup(Drw *drw, int code) {
drw_free(drw);
+ tal_free(rootcmds);
exit(0);
}