summary refs log tree commit diff
path: root/parse.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin@c9x.me>2017-05-17 11:17:17 -0400
committerQuentin Carbonneaux <quentin@c9x.me>2017-05-17 11:17:17 -0400
commit66288673cdce588bf81612c0599047665afefce7 (patch)
treee1f4a877922229a5a6cfaa6acc4e164685b5a170 /parse.c
parenta3a1451c5fabb5c94f7fbeb13fdc6b1e2c23181f (diff)
downloadroux-66288673cdce588bf81612c0599047665afefce7.tar.gz
free the typ vector at the end of parse()
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c1
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;
 		}
 	}