From 637b922ab2b2aa18419a0abed18ae9d2fed4e50a Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 8 Apr 2020 11:56:03 +0000 Subject: 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. --- roff.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'roff.c') diff --git a/roff.c b/roff.c index 2de0b7c3..435e9000 100644 --- a/roff.c +++ b/roff.c @@ -1,4 +1,4 @@ -/* $Id: roff.c,v 1.373 2020/04/06 10:16:17 schwarze Exp $ */ +/* $Id: roff.c,v 1.374 2020/04/08 11:56:03 schwarze Exp $ */ /* * Copyright (c) 2010-2015, 2017-2020 Ingo Schwarze * Copyright (c) 2008-2012, 2014 Kristaps Dzonsons @@ -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); } -- cgit v1.2.3