[asterisk-commits] rmudgett: branch 1.4 r320235 - /branches/1.4/apps/app_meetme.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri May 20 15:38:33 CDT 2011


Author: rmudgett
Date: Fri May 20 15:38:22 2011
New Revision: 320235

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=320235
Log:
The meetme CLI command completion leaves conferences mutex locked.

When issuing a meetme kick CLI command and an invalid (non-existent)
conference number is specified, pressing Tab leaves the conferences mutex
locked and, therefore, all conferences deadlock.

Add missing unlock.

(closes issue #19336)
Reported by: zvision
Patches:
      app_meetme.diff uploaded by zvision (license 798)

Modified:
    branches/1.4/apps/app_meetme.c

Modified: branches/1.4/apps/app_meetme.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/apps/app_meetme.c?view=diff&rev=320235&r1=320234&r2=320235
==============================================================================
--- branches/1.4/apps/app_meetme.c (original)
+++ branches/1.4/apps/app_meetme.c Fri May 20 15:38:22 2011
@@ -1099,6 +1099,7 @@
 				AST_LIST_UNLOCK(&confs);
 				return usr ? strdup(usrno) : NULL;
 			}
+			AST_LIST_UNLOCK(&confs);
 		} else if ( strstr(line, "list") && ( 0 == state ) )
 			return strdup("concise");
 	}




More information about the asterisk-commits mailing list