summaryrefslogtreecommitdiff
path: root/src/main.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/main.c
parent91642ceee7a2a2c05d9561c0e22b2f15111ac603 (diff)
Rename cmark_free_nodes -> cmark_free_blocks.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index e3b58d5..2bfe291 100644
--- a/src/main.c
+++ b/src/main.c
@@ -54,7 +54,7 @@ int main(int argc, char *argv[])
if (numfps == 0) {
document = cmark_parse_file(stdin);
print_document(document, ast);
- cmark_free_nodes(document);
+ cmark_free_blocks(document);
} else {
for (i = 0; i < numfps; i++) {
FILE *fp = fopen(argv[files[i]], "r");
@@ -67,7 +67,7 @@ int main(int argc, char *argv[])
document = cmark_parse_file(fp);
print_document(document, ast);
- cmark_free_nodes(document);
+ cmark_free_blocks(document);
fclose(fp);
}
}