[asterisk-bugs] [Asterisk 0013889]: [patch] Memory leak if the sla_thread is not running

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Nov 12 13:26:41 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13889 
====================================================================== 
Reported By:                eliel
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   13889
Category:                   Applications/app_meetme
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 156126 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-11-12 11:47 CST
Last Modified:              2008-11-12 13:26 CST
====================================================================== 
Summary:                    [patch] Memory leak if the sla_thread is not running
Description: 
If the sla_thread is not running, we are queueing events and we don't have
a consumer. One of the leaks is generated when doing a 'module reload', it
is queueing a RELOAD event, and no one is freeing it, because the thread is
not running. The solution I present here is to avoid queueing an event if
we have no thread assigned to consume this events.

====================================================================== 

---------------------------------------------------------------------- 
 (0094806) svnbot (reporter) - 2008-11-12 13:26
 http://bugs.digium.com/view.php?id=13889#c94806 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 156294

U   branches/1.4/apps/app_meetme.c

------------------------------------------------------------------------
r156294 | tilghman | 2008-11-12 13:26:40 -0600 (Wed, 12 Nov 2008) | 6
lines

If the SLA thread is not started, then reload causes a memory leak.
(closes issue http://bugs.digium.com/view.php?id=13889)
 Reported by: eliel
 Patches: 
       app_meetme.c.patch uploaded by eliel (license 64)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=156294 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-12 13:26 svnbot         Checkin                                      
2008-11-12 13:26 svnbot         Note Added: 0094806                          
======================================================================




More information about the asterisk-bugs mailing list