[asterisk-commits] qwell: branch 1.4 r90696 - /branches/1.4/apps/app_meetme.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Dec 3 16:06:37 CST 2007


Author: qwell
Date: Mon Dec  3 16:06:36 2007
New Revision: 90696

URL: http://svn.digium.com/view/asterisk?view=rev&rev=90696
Log:
Make sure we always close the conference fd if we have an open one.

Issue 11383, reported by markmhy, patch by eliel.

Modified:
    branches/1.4/apps/app_meetme.c

Modified: branches/1.4/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_meetme.c?view=diff&rev=90696&r1=90695&r2=90696
==============================================================================
--- branches/1.4/apps/app_meetme.c (original)
+++ branches/1.4/apps/app_meetme.c Mon Dec  3 16:06:36 2007
@@ -1254,7 +1254,7 @@
 		ast_hangup(conf->lchan);
 	if (conf->chan)
 		ast_hangup(conf->chan);
-	else
+	if (conf->fd >= 0)
 		close(conf->fd);
 
 	ast_mutex_destroy(&conf->playlock);




More information about the asterisk-commits mailing list