dect
/
asterisk
Archived
13
0
Fork 0

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)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@156295 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
tilghman 2008-11-12 19:28:22 +00:00
parent b22f3e95b1
commit e7bb3059ca
1 changed files with 4 additions and 0 deletions

View File

@ -1500,6 +1500,10 @@ static void sla_queue_event_full(enum sla_event_type type,
{
struct sla_event *event;
if (sla.thread == AST_PTHREADT_NULL) {
return;
}
if (!(event = ast_calloc(1, sizeof(*event))))
return;