diff -r 118e2386d5b4 -r 063a9f29098c ui/gtk/window.c
--- a/ui/gtk/window.c	Sat Feb 22 18:10:36 2025 +0100
+++ b/ui/gtk/window.c	Sun Feb 23 14:28:47 2025 +0100
@@ -102,7 +102,7 @@
 #endif
 
 static UiObject* create_window(const char *title, void *window_data, UiBool sidebar, UiBool simple) {
-    CxMempool *mp = cxBasicMempoolCreate(256);
+    CxMempool *mp = cxMempoolCreateSimple(256);
     UiObject *obj = cxCalloc(mp->allocator, 1, sizeof(UiObject));
     obj->ref = 0;
    
@@ -761,7 +761,7 @@
         gtk_window_set_modal(GTK_WINDOW(dialog), TRUE);
     }
     
-    CxMempool *mp = cxBasicMempoolCreate(256);
+    CxMempool *mp = cxMempoolCreateSimple(256);
     UiObject *obj = cxCalloc(mp->allocator, 1, sizeof(UiObject)); 
     obj->ctx = uic_context(obj, mp);
     obj->widget = dialog;