summaryrefslogtreecommitdiff
path: root/src/cmark.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-16 22:53:06 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-16 22:53:06 -0800
commit43a607c5aec4bd8d10486861bf2bc627f8846753 (patch)
tree7f6b9218496b6e7d569f0503faa47e547efcb0b7 /src/cmark.c
parent09c365fb0a75c9da46a1319aed1888665d6dc627 (diff)
Moved refmap from the top-level block node to the doc_parser.
Diffstat (limited to 'src/cmark.c')
-rw-r--r--src/cmark.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cmark.c b/src/cmark.c
index 768d462..106abbf 100644
--- a/src/cmark.c
+++ b/src/cmark.c
@@ -164,8 +164,6 @@ void cmark_free_blocks(cmark_node_block *e)
strbuf_free(&e->string_content);
if (e->tag == CMARK_BLOCK_FENCED_CODE) {
strbuf_free(&e->as.code.info);
- } else if (e->tag == CMARK_BLOCK_DOCUMENT) {
- reference_map_free(e->as.document.refmap);
}
if (e->last_child) {
// Splice children into list