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

Tzafrir Cohen reviewboard at asterisk.org
Thu Feb 17 09:26:45 CST 2011


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

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/5e5a4bd5/attachment.htm>


More information about the asterisk-dev mailing list