diff options
author | Quentin Carbonneaux <quentin@c9x.me> | 2017-05-17 11:17:17 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2017-05-17 11:17:17 -0400 |
commit | 66288673cdce588bf81612c0599047665afefce7 (patch) | |
tree | e1f4a877922229a5a6cfaa6acc4e164685b5a170 /parse.c | |
parent | a3a1451c5fabb5c94f7fbeb13fdc6b1e2c23181f (diff) | |
download | roux-66288673cdce588bf81612c0599047665afefce7.tar.gz |
free the typ vector at the end of parse()
Diffstat (limited to 'parse.c')
-rw-r--r-- | parse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/parse.c b/parse.c index f4d4909..d9aa1b1 100644 --- a/parse.c +++ b/parse.c @@ -1068,6 +1068,7 @@ parse(FILE *f, char *path, void data(Dat *), void func(Fn *)) parsetyp(); break; case Teof: + vfree(typ); return; } } |