scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

commit f20800ef9f4be10663fa2f34763471c4359baa0b
parent 8eb6511a9d0aa401cbb40bad46473e33c9bb2888
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri,  4 Jan 2019 17:20:53 +0000

[libmach/coff32] Free all the fields

Diffstat:
Msrc/libmach/coff32.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/libmach/coff32.c b/src/libmach/coff32.c @@ -247,7 +247,6 @@ typeof(Coff32 *coff, SYMENT *ent) c = toupper(c); return c; - } int @@ -282,5 +281,7 @@ coff32close(Obj *obj) struct coff32 *coff = obj->data; free(coff->scns); + free(coff->ents); + free(coff->strtbl); free(obj->data); }