remove memory leak, when ft_getnames ... free_pnode couple

parses a vector like v(1,2)
This commit is contained in:
Holger Vogt 2018-09-30 00:35:59 +02:00
parent 80c8bed17d
commit f33c3f0751
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ PP_mkfnode(const char *func, struct pnode *arg)
if (!f->fu_func && arg->pn_op && arg->pn_op->op_num == PT_OP_COMMA) {
p = PP_mkbnode(PT_OP_MINUS, PP_mkfnode(func, arg->pn_left),
PP_mkfnode(func, arg->pn_right));
tfree(arg);
free_pnode(arg);
return p;
}