We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 061a4d8 commit fe9ba10Copy full SHA for fe9ba10
src/blocks.c
@@ -162,6 +162,12 @@ cmark_parser *cmark_parser_new(int options) {
162
163
void cmark_parser_free(cmark_parser *parser) {
164
cmark_mem *mem = parser->mem;
165
+
166
+ if (parser->inline_syntax_extensions) {
167
+ mem->free(parser->special_chars);
168
+ mem->free(parser->skip_chars);
169
+ }
170
171
cmark_parser_dispose(parser);
172
cmark_strbuf_free(&parser->curline);
173
cmark_strbuf_free(&parser->linebuf);
0 commit comments