--- a/ui/common/object.c Thu Dec 12 20:01:43 2024 +0100 +++ b/ui/common/object.c Mon Jan 06 22:22:55 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) {