diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-16 17:14:48 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-16 17:14:48 +0000 |
commit | 266c94623f8d47d4db151c4f7b291320e7613f02 (patch) | |
tree | e2b020f3868e8909bad880f7da818c2ec205b198 /mdoc.c | |
parent | fb50684f4490a50ea91755bfd78db1ce643e2006 (diff) | |
download | mandoc-266c94623f8d47d4db151c4f7b291320e7613f02.tar.gz |
Migrate `An' to use a pointer in its data, like everybody else. This is
the first step to having a simpler ref-counted system for "data"
associated with a node.
Diffstat (limited to 'mdoc.c')
-rw-r--r-- | mdoc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -526,6 +526,9 @@ mdoc_node_free(struct mdoc_node *p) if (MDOC_Bf == p->tok && MDOC_HEAD == p->type) if (p->data.Bf) free(p->data.Bf); + if (MDOC_An == p->tok) + if (p->data.An) + free(p->data.An); if (p->string) free(p->string); |