remove memory leak in function parser (bug. no 478),
second case
This commit is contained in:
parent
96976ee49d
commit
4a3b193154
|
|
@ -307,6 +307,7 @@ struct pnode *PP_mkfnode(const char *func, struct pnode *arg)
|
|||
/* Give the user-defined functions a try. */
|
||||
q = ft_substdef(func, arg);
|
||||
if (q) { /* found */
|
||||
free_pnode(arg);
|
||||
return q;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue