diff options
-rw-r--r-- | usr.bin/column/column.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/column/column.c b/usr.bin/column/column.c index aa92742a0def..a253d24ca1b3 100644 --- a/usr.bin/column/column.c +++ b/usr.bin/column/column.c @@ -270,7 +270,12 @@ maketbl(void) (void)wprintf(L"%ls%*ls", t->list[coloff], lens[coloff] - t->len[coloff] + 2, L" "); (void)wprintf(L"%ls\n", t->list[coloff]); + free(t->list); + free(t->len); } + free(lens); + free(cols); + free(tbl); } #define DEFNUM 1000 |