aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--teensy/teensy_ui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/teensy/teensy_ui.c b/teensy/teensy_ui.c
index 050b1a1..86b2c94 100644
--- a/teensy/teensy_ui.c
+++ b/teensy/teensy_ui.c
@@ -258,6 +258,7 @@ void tyui_init(const ty_Font *font)
void tyui_deinit(void)
{
+ ty_list_free(uictx.root.cmds);
for (int i = 0; i < uictx.window_count; i++)
ty_list_free(uictx.windows[i].cmds);
}