diff options
-rw-r--r-- | sem_check.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sem_check.c b/sem_check.c index e30d8c5..4c8a0d3 100644 --- a/sem_check.c +++ b/sem_check.c @@ -205,6 +205,8 @@ ptree *t; /*TODO add info on which argument causes error*/ yyerror("Incorrect types in fuction arguments"); + free(argv); + argv = NULL; } int func_ret(t, name) |