-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3834/
-----------------------------------------------------------
Review request for Asterisk Developers.
Bugs: ASTERISK-24087
https://issues.asterisk.org/jira/browse/ASTERISK-24087
Repository: Asterisk
Description
-------
sip_subscribe_mwi_destroy calls sip_destroy on the reference counted mwi->call.
This results in the fields of mwi->call being freed, but mwi->call itself it
leaked. Also if other code is still using mwi->call it can cause problems.
This change uses dialog_unref instead, to balance the ref provided by
sip_alloc().
Diffs
-----
/branches/1.8/channels/chan_sip.c 418992
Diff: https://reviewboard.asterisk.org/r/3834/diff/
Testing
-------
None
Thanks,
Corey Farrell
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev