--- 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) {