aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xast_expr.y3
1 files changed, 1 insertions, 2 deletions
diff --git a/ast_expr.y b/ast_expr.y
index 71546f1b0..43385ae8f 100755
--- a/ast_expr.y
+++ b/ast_expr.y
@@ -215,8 +215,7 @@ struct val *vp;
}
if (vp->type == string || vp->type == numeric_string)
free (vp->u.s);
- if (vp)
- free (vp);
+ free (vp);
}