diff options
author | Warner Losh <imp@FreeBSD.org> | 2017-12-28 05:33:44 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2017-12-28 05:33:44 +0000 |
commit | 290ce7d2a9be4b07a6365e85871a6aa4be8009eb (patch) | |
tree | 1941530ce8c991c66e1b66ce43a8b08657899222 /usr.bin/column | |
parent | 7e7e1b062be699917d58f5cd1e7a099d2c74d95d (diff) | |
download | src-290ce7d2a9be4b07a6365e85871a6aa4be8009eb.tar.gz src-290ce7d2a9be4b07a6365e85871a6aa4be8009eb.zip |
Notes
Diffstat (limited to 'usr.bin/column')
-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 |