diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-21 17:25:47 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-21 17:25:47 -0800 |
commit | a90d61665a3ba565d98b4dc8a1ed44170142c6bc (patch) | |
tree | d1bb19ae3c840fb6d6b2aa0de95811031b257545 | |
parent | b34af68668c514b73102acc4c32e7bd6ac5a8301 (diff) |
Removed unnecessary strbuf_free's.
-rw-r--r-- | src/html.c | 1 | ||||
-rw-r--r-- | src/man.c | 1 | ||||
-rw-r--r-- | src/xml.c | 1 |
3 files changed, 0 insertions, 3 deletions
@@ -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; } @@ -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; } @@ -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; } |