Free data after we're done with it.
CID: 271595, 275337, 1368743
This commit is contained in:
parent
e48f2e83a8
commit
967d3df824
@ -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 New Issue
Block a user