[asterisk-dev] [Code Review] 4523: res_pjsip_registrar_expire.c: Cleanup scheduler leaks on unload/shutdown.

Kevin Harwell reviewboard at asterisk.org
Thu Mar 26 12:10:12 CDT 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/4523/#review14854
-----------------------------------------------------------

Ship it!


Ship It!

- Kevin Harwell


On March 26, 2015, 11:46 a.m., rmudgett wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/4523/
> -----------------------------------------------------------
> 
> (Updated March 26, 2015, 11:46 a.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> Contact expiration object refs were leaked when the module was unloaded.
> 
> * Made empty the scheduler of entries before destroying it to release the
> object ref held by the scheduler entry.
> 
> 
> Diffs
> -----
> 
>   /branches/13/res/res_pjsip_registrar_expire.c 433444 
> 
> Diff: https://reviewboard.asterisk.org/r/4523/diff/
> 
> 
> Testing
> -------
> 
> Before the patch valgrind reported struct contact_expiration object memory leaks.
> After the patch valgrind no longer reports those leaks.
> 
> 
> Thanks,
> 
> rmudgett
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20150326/775abde8/attachment.html>


More information about the asterisk-dev mailing list