--- a/ui/common/context.c Wed Feb 07 17:10:01 2024 +0100 +++ b/ui/common/context.c Thu Feb 08 10:22:58 2024 +0100 @@ -436,6 +436,10 @@ ctx->close_data = udata; } +UIEXPORT void ui_context_destroy(UiContext *ctx) { + cxMempoolDestroy(ctx->mp); +} + void ui_set_group(UiContext *ctx, int group) { if(cxListFind(ctx->groups, &group) == -1) {