projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d685a19
)
fix mem leak in free_value (bug #2990)
author
Russell Bryant
<russell@russellbryant.com>
Tue, 7 Dec 2004 19:46:29 +0000
(19:46 +0000)
committer
Russell Bryant
<russell@russellbryant.com>
Tue, 7 Dec 2004 19:46:29 +0000
(19:46 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4398
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
ast_expr.y
patch
|
blob
|
history
diff --git
a/ast_expr.y
b/ast_expr.y
index
97b2b02
..
71546f1
100755
(executable)
--- 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);
}