--- a/ui/common/object.c Sun Apr 16 10:20:21 2023 +0200 +++ b/ui/common/object.c Tue May 23 11:11:28 2023 +0200 @@ -53,7 +53,7 @@ UiObject* uic_object_new(UiObject *toplevel, UIWIDGET widget) { UiContext *ctx = toplevel->ctx; - UiObject *newobj = ucx_mempool_calloc(ctx->mempool, 1, sizeof(UiObject)); + UiObject *newobj = cxCalloc(ctx->allocator, 1, sizeof(UiObject)); newobj->ctx = ctx; newobj->widget = widget;