summaryrefslogtreecommitdiffstats
path: root/roff.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-04-08 11:56:03 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-04-08 11:56:03 +0000
commitd8e6af26addbffe69059f3b4e263563cdc3f3b53 (patch)
tree4e744a6bba6a794075e7ac543e3f9452bf5dba4a /roff.c
parent78bf8cb3c86e47d614af8f2629bdc00e459cf758 (diff)
downloadmandoc-d8e6af26addbffe69059f3b4e263563cdc3f3b53.tar.gz
Use a separate node->tag attribute rather than abusing the node->string
attribute for the purpose. No functional change intended. The purpose is to make it possible to later attach tags to text nodes.
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/roff.c b/roff.c
index 829388b4..174429e3 100644
--- a/roff.c
+++ b/roff.c
@@ -1103,6 +1103,7 @@ roff_node_free(struct roff_node *n)
free(n->norm);
eqn_box_free(n->eqn);
free(n->string);
+ free(n->tag);
free(n);
}