Mon, 17 Nov 2025 14:31:48 +0100
fix tabview container initialization (Motif)
| ui/motif/container.c | file | annotate | diff | comparison | revisions |
--- a/ui/motif/container.c Mon Nov 17 14:27:48 2025 +0100 +++ b/ui/motif/container.c Mon Nov 17 14:31:48 2025 +0100 @@ -449,6 +449,7 @@ tabview->current_index = -1; UiTabViewContainer *ct = ui_malloc(obj->ctx, sizeof(UiTabViewContainer)); + memset(ct, 0, sizeof(UiTabViewContainer)); ct->container.widget = form; ct->container.type = UI_CONTAINER_TABVIEW; ct->container.prepare = ui_tabview_container_prepare;