Summary:ASTERISK-24876: Investigate reference leaks from tests/channels/local/local_optimize_away
Reporter:Corey Farrell (coreyfarrell)Labels:
Date Opened:2015-03-13 13:28:36Date Closed:2015-03-19 04:42:23
Versions:SVN 11.16.0 13.2.0 Frequency of
Environment:Attachments:( 0) refs.txt
Description:Found while creating fixes for [r4478|https://reviewboard.asterisk.org/r/4478/].

I think the following line is the leaked reference:
{{\[24906] chan_sip.c:7073 sip_hangup: +1 ref for reinvite_timeout - \[4]}}

Since the test is only for 13+ I can't reproduce on 11, but based on the code this applies to 11+.
Comments:By: Corey Farrell (coreyfarrell) 2015-03-13 17:53:04.602-0500

Note refs.txt was collected using the patch up for review at [r4189|https://reviewboard.asterisk.org/r/4189/].

By: Rusty Newton (rnewton) 2015-03-13 18:12:27.832-0500

Thanks Corey - I'll leave it up to you to assign this to yourself if you are continuing this investigation.

By: ibercom (ibercom) 2015-03-14 04:48:28.727-0500

[~coreyfarrell]: What's about [https://reviewboard.asterisk.org/r/4478/] for Asterisk 11 ?

By: Corey Farrell (coreyfarrell) 2015-03-14 05:40:04.220-0500

r4478 was a change to the testsuite (already committed).  A few of the test fixes probably apply to Asterisk 11.

By: Corey Farrell (coreyfarrell) 2015-03-14 06:07:56.481-0500

Posted fix to review board [r4491|https://reviewboard.asterisk.org/r/4491/].

By: ibercom (ibercom) 2015-03-15 06:41:59.968-0500

Sorry, I was referring to [https://reviewboard.asterisk.org/r/4189/].

By: Corey Farrell (coreyfarrell) 2015-03-15 22:02:43.502-0500

I forgot to create a ticket for that one.  It's now created, see the description of ASTERISK-24882.