ui/motif/window.c

changeset 102
64ded9f6a6c6
parent 101
7b3a3130be44
--- a/ui/motif/window.c	Mon Jan 06 22:22:55 2025 +0100
+++ b/ui/motif/window.c	Tue Feb 25 21:11:00 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