ui/common/context.c

branch
newapi
changeset 247
4b21af9d8c5a
parent 239
5dd24929f9f6
child 249
4df7c366cff7
--- a/ui/common/context.c	Wed Feb 07 17:15:03 2024 +0100
+++ b/ui/common/context.c	Thu Feb 08 10:17:59 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) {

mercurial