--- 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);
}
}