[Asterisk-cvs] asterisk ast_expr.y,1.8,1.8.2.1

russell at lists.digium.com russell at lists.digium.com
Tue Dec 7 14:45:22 CST 2004


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv29512

Modified Files:
      Tag: v1-0
	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.8.2.1
diff -u -d -r1.8 -r1.8.2.1
--- ast_expr.y	26 Jun 2004 03:50:14 -0000	1.8
+++ ast_expr.y	7 Dec 2004 19:43:06 -0000	1.8.2.1
@@ -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