Author: imp Date: Thu Dec 28 05:33:44 2017 New Revision: 327268 URL: https://svnweb.freebsd.org/changeset/base/327268
Log: Free data after we're done with it. CID: 271595, 275337, 1368743 Modified: head/usr.bin/column/column.c Modified: head/usr.bin/column/column.c ============================================================================== --- head/usr.bin/column/column.c Thu Dec 28 05:33:39 2017 (r327267) +++ head/usr.bin/column/column.c Thu Dec 28 05:33:44 2017 (r327268) @@ -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 _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"