]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_session: Fix session reference leak.
authorJoshua C. Colp <jcolp@sangoma.com>
Tue, 22 Sep 2020 10:13:32 +0000 (07:13 -0300)
committerJoshua Colp <jcolp@sangoma.com>
Wed, 23 Sep 2020 14:59:40 +0000 (09:59 -0500)
commite6ed74347ce748361e92bb0341c47c0ec2d0065f
tree4e6ad5909d59c6a2ec1719d0d88b5e1f17c861be
parentf7285140b418899b55551e203489f80e5a75566e
res_pjsip_session: Fix session reference leak.

The ast_sip_dialog_get_session function returns the session
with reference count increased. This was not taken into
account and was causing sessions to remain around when they
should not be.

ASTERISK-29089

Change-Id: I430fa721b0a824311a59effec6056e9ec528e3e8
res/res_pjsip_session.c