ui/common/context.c

changeset 21
3060a5a1d5fd
parent 8
726b24766437
child 26
40d6af793c1a
--- 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) {

mercurial