ui/motif/window.c

changeset 471
063a9f29098c
parent 424
51e856688fba
child 479
d9b58dd1c30b
--- a/ui/motif/window.c	Sat Feb 22 18:10:36 2025 +0100
+++ b/ui/motif/window.c	Sun Feb 23 14:28:47 2025 +0100
@@ -57,7 +57,7 @@
 
 
 static UiObject* create_window(const char *title, void *window_data, Boolean simple) {
-    CxMempool *mp = cxBasicMempoolCreate(256);
+    CxMempool *mp = cxMempoolCreateSimple(256);
     const CxAllocator *a = mp->allocator;
     UiObject *obj = cxCalloc(a, 1, sizeof(UiObject));
     obj->ctx = uic_context(obj, mp);

mercurial