[asterisk-commits] branch 1.2 r14467 - /branches/1.2/apps/app_meetme.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Mar 23 13:43:06 MST 2006


Author: bweschke
Date: Thu Mar 23 14:43:05 2006
New Revision: 14467

URL: http://svn.digium.com/view/asterisk?rev=14467&view=rev
Log:
 Bug #5884 - fix a possible race state in app_meetme when a channel has gone away and we are reading continuously for more frames. (mneuhauser)


Modified:
    branches/1.2/apps/app_meetme.c

Modified: branches/1.2/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_meetme.c?rev=14467&r1=14466&r2=14467&view=diff
==============================================================================
--- branches/1.2/apps/app_meetme.c (original)
+++ branches/1.2/apps/app_meetme.c Thu Mar 23 14:43:05 2006
@@ -737,6 +737,8 @@
 			f = ast_read(chan);
 			if (f)
 				ast_frfree(f);
+			else /* channel was hung up or something else happened */
+				break;
 		}
 	}
 



More information about the asterisk-commits mailing list