[Asterisk-cvs] asterisk ast_expr.y,1.8,1.9
russell at lists.digium.com
russell at lists.digium.com
Tue Dec 7 14:48:45 CST 2004
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv29539
Modified Files:
ast_expr.y
Log Message:
fix mem leak in free_value (bug #2990)
Index: ast_expr.y
===================================================================
RCS file: /usr/cvsroot/asterisk/ast_expr.y,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- ast_expr.y 26 Jun 2004 03:50:14 -0000 1.8
+++ ast_expr.y 7 Dec 2004 19:46:29 -0000 1.9
@@ -215,6 +215,8 @@
}
if (vp->type == string || vp->type == numeric_string)
free (vp->u.s);
+ if (vp)
+ free (vp);
}
More information about the svn-commits
mailing list