summaryrefslogtreecommitdiffstats
path: root/tbl.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-08 18:11:22 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-08 18:11:22 +0000
commit3fb3595e2dd4a3aa729120f074bd64eba84f7a4d (patch)
tree8f51ea63f0dd3f7cace9bf94c0855d51bc4258ba /tbl.c
parentad29d8dbe925e8f0d680007ebf3c95aec8351f84 (diff)
downloadmandoc-3fb3595e2dd4a3aa729120f074bd64eba84f7a4d.tar.gz
Implement w layout specifier (minimum column width).
Improve width calculation of text blocks. Reduces the groff/mandoc diff in Base+Xenocara by about 800 lines.
Diffstat (limited to 'tbl.c')
-rw-r--r--tbl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tbl.c b/tbl.c
index b7205bfa..83f77348 100644
--- a/tbl.c
+++ b/tbl.c
@@ -114,6 +114,7 @@ tbl_free(struct tbl_node *tbl)
while (rp->first != NULL) {
cp = rp->first;
rp->first = cp->next;
+ free(cp->wstr);
free(cp);
}
free(rp);