[asterisk-commits] tilghman: branch 1.6.1 r156296 - in /branches/1.6.1: ./ apps/app_meetme.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Nov 12 13:29:12 CST 2008


Author: tilghman
Date: Wed Nov 12 13:29:12 2008
New Revision: 156296

URL: http://svn.digium.com/view/asterisk?view=rev&rev=156296
Log:
Merged revisions 156295 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r156295 | tilghman | 2008-11-12 13:28:22 -0600 (Wed, 12 Nov 2008) | 13 lines
  
  Merged revisions 156294 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r156294 | tilghman | 2008-11-12 13:26:45 -0600 (Wed, 12 Nov 2008) | 6 lines
    
    If the SLA thread is not started, then reload causes a memory leak.
    (closes issue #13889)
     Reported by: eliel
     Patches: 
           app_meetme.c.patch uploaded by eliel (license 64)
  ........
................

Modified:
    branches/1.6.1/   (props changed)
    branches/1.6.1/apps/app_meetme.c

Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.1/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.1/apps/app_meetme.c?view=diff&rev=156296&r1=156295&r2=156296
==============================================================================
--- branches/1.6.1/apps/app_meetme.c (original)
+++ branches/1.6.1/apps/app_meetme.c Wed Nov 12 13:29:12 2008
@@ -1446,6 +1446,10 @@
 	struct sla_trunk_ref *trunk_ref, struct sla_station *station, int lock)
 {
 	struct sla_event *event;
+
+	if (sla.thread == AST_PTHREADT_NULL) {
+		return;
+	}
 
 	if (!(event = ast_calloc(1, sizeof(*event))))
 		return;




More information about the asterisk-commits mailing list