ui/common/object.c

changeset 440
7c4b9cba09ca
parent 406
0ebf9d7b23e8
--- a/ui/common/object.c	Sun Jan 05 17:41:39 2025 +0100
+++ b/ui/common/object.c	Sun Jan 05 22:00:39 2025 +0100
@@ -87,7 +87,7 @@
         ev.intval = 0;
         obj->ctx->close_callback(&ev, obj->ctx->close_data);
     }
-    cxMempoolDestroy(obj->ctx->mp);
+    cxMempoolFree(obj->ctx->mp);
 }
 
 UiObject* uic_object_new(UiObject *toplevel, UIWIDGET widget) {

mercurial