[asterisk-dev] [Code Review] memory leak in device state callback

Mark Michelson reviewboard at asterisk.org
Thu Feb 17 10:37:11 CST 2011


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

Ship it!


- Mark


On 2011-02-17 09:26:45, Tzafrir Cohen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/1110/
> -----------------------------------------------------------
> 
> (Updated 2011-02-17 09:26:45)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> The callback handle_statechange (pbx.c) fails to release its data pointer, leaking memory in the process.
> 
> 
> This addresses bug https://issues.asterisk.org/view.php?id=18735.
>     https://issues.asterisk.org/view.php?id=https://issues.asterisk.org/view.php?id=18735
> 
> 
> Diffs
> -----
> 
>   /trunk/main/pbx.c 308202 
> 
> Diff: https://reviewboard.asterisk.org/r/1110/diff
> 
> 
> Testing
> -------
> 
> See bug report
> 
> 
> Thanks,
> 
> Tzafrir
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110217/3cc56305/attachment.htm>


More information about the asterisk-dev mailing list