aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-05-23 10:54:50 -0400
committeriamcheeseman <[email protected]>2026-05-23 10:54:50 -0400
commit5d36dcd67478cdb235f39d2aecb3270aba954001 (patch)
tree47f5f9f1329d2ac32f2b627afe6e07187d276e12
parenta041d7f634e7ced83950a2db1bbafd27ca784927 (diff)
fix memory leak
-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);
}