[Asterisk-cvs] asterisk/pbx pbx_spool.c,1.30,1.31

markster markster
Wed Oct 12 16:23:29 CDT 2005


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

Modified Files:
	pbx_spool.c 
Log Message:
Back out improper freeing of variables


Index: pbx_spool.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx/pbx_spool.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- pbx_spool.c	11 Oct 2005 20:52:37 -0000	1.30
+++ pbx_spool.c	12 Oct 2005 20:18:13 -0000	1.31
@@ -103,12 +103,6 @@
 
 static void free_outgoing(struct outgoing *o)
 {
-	struct ast_variable *last;
-	while(o->vars) {
-		last = o->vars;
-		o->vars = o->vars->next;
-		free(last);
-	}
 	free(o);
 }
 




More information about the svn-commits mailing list