summaryrefslogtreecommitdiff
path: root/src/cmark.c
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2014-11-13 10:06:43 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2014-11-13 10:06:43 -0800
commite5fd42248067b4e8f29a9c2ed9d224ded4526c24 (patch)
tree9e795179ea25aacc99c1e8de5a500b3485ffd10c /src/cmark.c
parent91642ceee7a2a2c05d9561c0e22b2f15111ac603 (diff)
Rename cmark_free_nodes -> cmark_free_blocks.
Diffstat (limited to 'src/cmark.c')
-rw-r--r--src/cmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmark.c b/src/cmark.c
index ef98d79..8f5c4e8 100644
--- a/src/cmark.c
+++ b/src/cmark.c
@@ -14,7 +14,7 @@ extern unsigned char *cmark_markdown_to_html(unsigned char *text, int len)
blocks = cmark_parse_document(text, len);
cmark_render_html(&htmlbuf, blocks);
- cmark_free_nodes(blocks);
+ cmark_free_blocks(blocks);
result = strbuf_detach(&htmlbuf);
strbuf_free(&htmlbuf);