diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-07 19:46:29 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-07 19:46:29 +0000 |
commit | b64c7117dddd2cd4dba0a24a3ba60166ee0167c4 (patch) | |
tree | 363ba5be1cd3cf3d8c45efe0aafdae4d87a06c72 | |
parent | eb3ca5535904004d2d3dd72bee53b690a8778886 (diff) |
fix mem leak in free_value (bug #2990)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4398 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-x | ast_expr.y | 2 |
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); } |