diff -r bf7084544cb1 -r 7c4b9cba09ca ui/common/document.c --- a/ui/common/document.c Sun Jan 05 17:41:39 2025 +0100 +++ b/ui/common/document.c Sun Jan 05 22:00:39 2025 +0100 @@ -110,7 +110,7 @@ if(ctx->close_callback) { ctx->close_callback(&ev, ctx->close_data); } - cxMempoolDestroy(ctx->mp); + cxMempoolFree(ctx->mp); } }