scc

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

commit 18853825ec9395caec2bfd42e7fd95f4cd723402
parent 79671df4e68f1101d88ded9891e1f01be99cb189
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); }