]> 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:01:38 +0000 (10:01 -0500)
commit1bf404e15d255d07e767f86f36575577b8520f31
tree7263e05193b491a7c7b3d8ff16cf2771960fc2f9
parent4128bdfdb90c20bead90f22f356881209a094470
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