ui/cocoa/window.m

changeset 102
64ded9f6a6c6
parent 100
d2bd73d28ff1
--- a/ui/cocoa/window.m	Mon Jan 06 22:22:55 2025 +0100
+++ b/ui/cocoa/window.m	Tue Feb 25 21:11:00 2025 +0100
@@ -40,7 +40,7 @@
 #include <cx/mempool.h>
 
 static UiObject* create_window(const char *title, BOOL simple) {
-    CxMempool *mp = cxBasicMempoolCreate(256);
+    CxMempool *mp = cxMempoolCreateSimple(256);
     UiObject *obj = cxCalloc(mp->allocator, 1, sizeof(UiObject));
     obj->ref = 0;
     

mercurial