[Asterisk-cvs] asterisk channel.c,1.91,1.92

markster at lists.digium.com markster at lists.digium.com
Fri Apr 2 18:26:04 CST 2004


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

Modified Files:
	channel.c 
Log Message:
Don't double lock the stream


Index: channel.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channel.c,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- channel.c	2 Apr 2004 21:58:10 -0000	1.91
+++ channel.c	2 Apr 2004 23:25:24 -0000	1.92
@@ -647,8 +647,10 @@
 		return 0;
 	}
 	free_translation(chan);
-	if (chan->stream)
-		ast_stopstream(chan);
+	if (chan->stream) 
+		ast_closestream(chan->stream);
+	if (chan->vstream)
+		ast_closestream(chan->vstream);
 	if (chan->sched)
 		sched_context_destroy(chan->sched);
 	/* Clear any tone stuff remaining */




More information about the svn-commits mailing list