ui/common/document.c

changeset 101
7b3a3130be44
parent 97
5a3d27b8e6b0
equal deleted inserted replaced
100:d2bd73d28ff1 101:7b3a3130be44
108 ev.intval = 0; 108 ev.intval = 0;
109 109
110 if(ctx->close_callback) { 110 if(ctx->close_callback) {
111 ctx->close_callback(&ev, ctx->close_data); 111 ctx->close_callback(&ev, ctx->close_data);
112 } 112 }
113 cxMempoolDestroy(ctx->mp); 113 cxMempoolFree(ctx->mp);
114 } 114 }
115 } 115 }
116 116
117 UiContext* ui_document_context(void *doc) { 117 UiContext* ui_document_context(void *doc) {
118 if(doc) { 118 if(doc) {

mercurial