diff -r d2bd73d28ff1 -r 7b3a3130be44 ui/common/document.c --- a/ui/common/document.c Thu Dec 12 20:01:43 2024 +0100 +++ b/ui/common/document.c Mon Jan 06 22:22:55 2025 +0100 @@ -110,7 +110,7 @@ if(ctx->close_callback) { ctx->close_callback(&ev, ctx->close_data); } - cxMempoolDestroy(ctx->mp); + cxMempoolFree(ctx->mp); } }