]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_mwi: Remove inappropriate topic unreference.
authorCorey Farrell <git@cfware.com>
Thu, 19 Sep 2019 16:06:07 +0000 (12:06 -0400)
committerCorey Farrell <git@cfware.com>
Thu, 19 Sep 2019 20:30:58 +0000 (15:30 -0500)
commit76d4a42ae1b99c472ca62f9916eef2dbaa13e708
treea76d306c159ffe58dc21da9ec2309d4b6e98941b
parenta687c7919d43ffb8caa1ff3f2179e44bc3d94013
res_pjsip_mwi: Remove inappropriate topic unreference.

ast_mwi_topic() returns a borrowed reference which should not be
unreferenced, doing so leads to a FRACK.  This was hidden by the fact
that stasis_cache.c leaked the result of cache_remove in
caching_topic_exec.

Change-Id: I51101bf7d07b8dc8ce8fc46b6cb31fbbd213fbc7
main/stasis_cache.c
res/res_pjsip_mwi.c