remove memory leak in function parser (bug. no 478),

second case
This commit is contained in:
Holger Vogt 2020-03-22 00:17:58 +01:00
parent 96976ee49d
commit 4a3b193154
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}
}