[Home]

Summary:ASTERISK-04720: [patch] Memory Leak(tm) in res_musiconhold.c
Reporter:Anthony Minessale (anthm)Labels:
Date Opened:2005-07-28 12:11:55Date Closed:2008-01-15 15:43:47.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Resources/res_musiconhold
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) moh_leak.diff
Description:It looks like res_musiconhold.c frees moh classes without freeing the linked list [ struct mohdata *members ]

I added this code so it will be dealt with properly.



****** ADDITIONAL INFORMATION ******

Disclaimer On file <-- for all those who say i don't disclaim any code.
anthmct@yahoo.com

Comments:By: Russell Bryant (russell) 2005-08-04 19:41:57

fixed in 1.0 as well

By: Digium Subversion (svnbot) 2008-01-15 15:43:09.000-0600

Repository: asterisk
Revision: 6244

U   trunk/res/res_musiconhold.c

------------------------------------------------------------------------
r6244 | markster | 2008-01-15 15:43:09 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix music on hold leak (bug ASTERISK-4720)

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

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

By: Digium Subversion (svnbot) 2008-01-15 15:43:47.000-0600

Repository: asterisk
Revision: 6286

U   branches/v1-0/res/res_musiconhold.c

------------------------------------------------------------------------
r6286 | russell | 2008-01-15 15:43:46 -0600 (Tue, 15 Jan 2008) | 2 lines

prevent mem leak (bug ASTERISK-4720)

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

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