ui/common/document.c

changeset 440
7c4b9cba09ca
parent 398
4d87a137fe70
equal deleted inserted replaced
439:bf7084544cb1 440:7c4b9cba09ca
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