free the typ vector at the end of parse()
This commit is contained in:
parent
a3a1451c5f
commit
66288673cd
1 changed files with 1 additions and 0 deletions
1
parse.c
1
parse.c
|
@ -1068,6 +1068,7 @@ parse(FILE *f, char *path, void data(Dat *), void func(Fn *))
|
||||||
parsetyp();
|
parsetyp();
|
||||||
break;
|
break;
|
||||||
case Teof:
|
case Teof:
|
||||||
|
vfree(typ);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue