diff options
| author | iamcheeseman <[email protected]> | 2026-05-23 10:54:50 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-05-23 10:54:50 -0400 |
| commit | 5d36dcd67478cdb235f39d2aecb3270aba954001 (patch) | |
| tree | 47f5f9f1329d2ac32f2b627afe6e07187d276e12 /teensy | |
| parent | a041d7f634e7ced83950a2db1bbafd27ca784927 (diff) | |
fix memory leak
Diffstat (limited to 'teensy')
| -rw-r--r-- | teensy/teensy_ui.c | 1 |
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); } |
