[Asterisk-cvs] asterisk/res res_features.c,1.16.2.1,1.16.2.2

russell at lists.digium.com russell at lists.digium.com
Sun Dec 19 19:31:18 CST 2004


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

Modified Files:
      Tag: v1-0
	res_features.c 
Log Message:
fix parking issue (bug #3840)


Index: res_features.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_features.c,v
retrieving revision 1.16.2.1
retrieving revision 1.16.2.2
diff -u -d -r1.16.2.1 -r1.16.2.2
--- res_features.c	2 Nov 2004 12:56:15 -0000	1.16.2.1
+++ res_features.c	20 Dec 2004 00:27:19 -0000	1.16.2.2
@@ -152,6 +152,7 @@
 	struct ast_context *con;
 	pu = malloc(sizeof(struct parkeduser));
 	if (pu) {
+		memset(pu,0,sizeof(struct parkeduser));
 		ast_mutex_lock(&parking_lock);
 		for (x=parking_start;x<=parking_stop;x++) {
 			cur = parkinglot;




More information about the svn-commits mailing list