diff --git a/src/frontend/parse.c b/src/frontend/parse.c index 7a45dcaf2..3fed3ba1b 100644 --- a/src/frontend/parse.c +++ b/src/frontend/parse.c @@ -43,6 +43,7 @@ struct pnode *ft_getpnames_from_string(const char *sz, bool check) * structure must also be freed if the check fails since it is not * being returned. */ if (check && !checkvalid(pn)) { + dvec_free(pn->pn_value); free_pnode(pn); return (struct pnode *) NULL; }