aboutsummaryrefslogtreecommitdiffstats
path: root/ast_expr.y
diff options
context:
space:
mode:
Diffstat (limited to 'ast_expr.y')
-rwxr-xr-xast_expr.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/ast_expr.y b/ast_expr.y
index 97b2b021c..71546f1b0 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);
}