- Commit
- d51d70620a4ccca90473c1b705c9e8b6f56537a6
- Parent
- dbbc20d4051ea9033f0b13b478fcbcd855950bd7
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Doc: clarify that cmark_node_free frees a node's children too.
My personal build of CMark ✏️
Doc: clarify that cmark_node_free frees a node's children too.
1 file changed, 1 insertion, 1 deletion
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/cmark.h | 2 | 1 | 1 |
diff --git 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);