]> 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 15:02:30 +0000 (10:02 -0500)
commit957aff751d1363953a00aac7ddd9c772b405c574
tree482e8daf496318962dc75d0f52c2081dd2897bf2
parent2bce21da88b63105b87a48443a2a353b690ed332
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