diff options
Diffstat (limited to 'awkgram.c')
-rw-r--r-- | awkgram.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -4672,6 +4672,15 @@ parse_program(INSTRUCTION **pcode) return (ret || errcount); } +/* free_srcfile --- free a SRCFILE struct */ + +void +free_srcfile(SRCFILE *thisfile) +{ + efree(thisfile->src); + efree(thisfile); +} + /* do_add_srcfile --- add one item to srcfiles */ static SRCFILE * |