[Home]

Summary:ASTERISK-01005: [patch] memory leak when using mysql_friends
Reporter:Matteo Brancaleoni (mbrancaleoni)Labels:
Date Opened:2004-02-07 10:59:15.000-0600Date Closed:2008-01-15 14:43:23.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) chaniax2.patch
Description:asterisk leaks memory in chan_iax2.c when MYSQL_FRIENDS is enabled. it grows & grows :) . simply because mysql_free_result is never called to free MYSQL_RES pointer.
patch is attached
Comments:By: Matteo Brancaleoni (mbrancaleoni) 2004-02-07 20:03:58.000-0600

ok, I have the patch running on my main server and all is ok. the * proc isn't growing in memory usage :)

By: Mark Spencer (markster) 2004-02-11 00:21:49.000-0600

Fixed in CVS

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

Repository: asterisk
Revision: 2157

U   branches/v1-0_stable/channels/chan_iax2.c

------------------------------------------------------------------------
r2157 | markster | 2008-01-15 14:43:22 -0600 (Tue, 15 Jan 2008) | 2 lines

Free mysql results memory (bug ASTERISK-1005)

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

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