[svn-commits] file: branch certified-1.8.15 r373243 - /certified/branches/1.8.15/apps/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Sep 20 14:13:29 CDT 2012


Author: file
Date: Thu Sep 20 14:13:26 2012
New Revision: 373243

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=373243
Log:
Fix incorrect MeetME conference bridge reference count decrementing and sometimes premature destruction.

When using the 'e' or 'E' option to MeetMe the configured conference bridges are loaded and examined to see
if any are empty. If no conference bridges are empty the caller is prompted to enter the number of one.
This operation left around a pointer to the last created conference bridge still containing participants.
When the caller that was not able to find any empty conference bridge hung up this pointer was disposed of
and the reference count of the conference bridge decremented. If there was only a single participant in the
conference bridge it was ultimately destroyed prematurely.

(closes issue AST-994)
Reported by: John Bigelow

Modified:
    certified/branches/1.8.15/apps/app_meetme.c

Modified: certified/branches/1.8.15/apps/app_meetme.c
URL: http://svnview.digium.com/svn/asterisk/certified/branches/1.8.15/apps/app_meetme.c?view=diff&rev=373243&r1=373242&r2=373243
==============================================================================
--- certified/branches/1.8.15/apps/app_meetme.c (original)
+++ certified/branches/1.8.15/apps/app_meetme.c Thu Sep 20 14:13:26 2012
@@ -4242,6 +4242,7 @@
 									}
 								}
 								AST_LIST_UNLOCK(&confs);
+								cnf = NULL;
 								if (!found) {
 									/* At this point, we have a confno_tmp (static conference) that is empty */
 									if ((empty_no_pin && ast_strlen_zero(stringp)) || (!empty_no_pin)) {




More information about the svn-commits mailing list