[asterisk-dev] [Code Review] Don't use a variable after calling ASTOBJ_UNREF on it.

Terry Wilson reviewboard at asterisk.org
Mon May 21 15:52:47 CDT 2012


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

Review request for Asterisk Developers and Matt Jordan.


Summary
-------

This just saves the ref to a variable and unrefs that instead.


This addresses bug ASTERISK-19827.
    https://issues.asterisk.org/jira/browse/ASTERISK-19827


Diffs
-----

  /branches/1.8/channels/chan_sip.c 367176 

Diff: https://reviewboard.asterisk.org/r/1940/diff


Testing
-------

Compiles.


Thanks,

Terry

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


More information about the asterisk-dev mailing list