[Home]

Summary:ASTERISK-08374: [patch] likely memory leak in app_dial (trunk, 1.4 and 1.2)
Reporter:Luigi Rizzo (rizzo)Labels:
Date Opened:2006-12-19 03:43:20.000-0600Date Closed:2006-12-19 15:12:19.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_dial
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:there are some cases in app_dial (basically when you cannot
connect to one of the destinations specified) where memory is
not freed as it should.
I have fixed it in trunk, i believe it affects 1.4 and 1.2 as well,
but before applying the fix to the other branches can someone using them
try and verify the problem ? It should suffice to add some
weird destination in a Dial command e.g.
 ... Dial(SIP/testing123&SIP/testing456&${REAL_DESTINATION},...)
and then look at the memory stats (i don't know if there is
any CLI command to look at them)

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

the fix (in trunk) is below. can someone please review it ?

http://svn.digium.com/view/asterisk/trunk/apps/app_dial.c?r1=48573&r2=48574&makepatch=1&diff_format=h
Comments:By: Joshua C. Colp (jcolp) 2006-12-19 15:12:19.000-0600

Fixed in 1.2 as of revision 48584 and 1.4 as of revision 48585. Peace!