mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 18:27:22 +00:00
Free data after we're done with it.
CID: 271595, 275337, 1368743
This commit is contained in:
parent
7e7e1b062b
commit
290ce7d2a9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=327268
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue