summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/html.c1
-rw-r--r--src/man.c1
-rw-r--r--src/xml.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/html.c b/src/html.c
index abc3e83..8ccb495 100644
--- a/src/html.c
+++ b/src/html.c
@@ -319,6 +319,5 @@ char *cmark_render_html(cmark_node *root, long options)
result = (char *)cmark_strbuf_detach(&html);
cmark_iter_free(iter);
- cmark_strbuf_free(&html);
return result;
}
diff --git a/src/man.c b/src/man.c
index aa81b2b..f57eb75 100644
--- a/src/man.c
+++ b/src/man.c
@@ -246,6 +246,5 @@ char *cmark_render_man(cmark_node *root, long options)
result = (char *)cmark_strbuf_detach(&man);
cmark_iter_free(iter);
- cmark_strbuf_free(&man);
return result;
}
diff --git a/src/xml.c b/src/xml.c
index f630aba..f169241 100644
--- a/src/xml.c
+++ b/src/xml.c
@@ -170,6 +170,5 @@ char *cmark_render_xml(cmark_node *root, long options)
result = (char *)cmark_strbuf_detach(&xml);
cmark_iter_free(iter);
- cmark_strbuf_free(&xml);
return result;
}