diff --git a/ast_expr.y b/ast_expr.y index 97b2b021cf..71546f1b0b 100755 --- a/ast_expr.y +++ b/ast_expr.y @@ -215,6 +215,8 @@ struct val *vp; } if (vp->type == string || vp->type == numeric_string) free (vp->u.s); + if (vp) + free (vp); }