summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-03-23 08:31:20 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-03-23 08:31:20 -0700
commitd51d70620a4ccca90473c1b705c9e8b6f56537a6 (patch)
treeb706b9ceb7ad71aabfa23fd1192e000276f55ffe /src
parentdbbc20d4051ea9033f0b13b478fcbcd855950bd7 (diff)
Doc: clarify that cmark_node_free frees a node's children too.
Diffstat (limited to 'src')
-rw-r--r--src/cmark.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmark.h b/src/cmark.h
index 71c634b..31bbf01 100644
--- a/src/cmark.h
+++ b/src/cmark.h
@@ -96,7 +96,7 @@ typedef struct cmark_iter cmark_iter;
*/
CMARK_EXPORT cmark_node *cmark_node_new(cmark_node_type type);
-/** Frees the memory allocated for a node.
+/** Frees the memory allocated for a node and any children.
*/
CMARK_EXPORT void cmark_node_free(cmark_node *node);