[asterisk-commits] Revert "res pjsip session: Release media resources on sessio... (asterisk[13])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Aug 1 15:57:51 CDT 2017


George Joseph has submitted this change and it was merged. ( https://gerrit.asterisk.org/6120 )

Change subject: Revert "res_pjsip_session: Release media resources on session end quicker."
......................................................................

Revert "res_pjsip_session: Release media resources on session end quicker."

This reverts commit 98709642d640b490f327d220fdcdea6d45fd65d7.

See the 15 branch review.

Change-Id: I8476b3cdacaad5157fa36b6247d0e4cdf1e8d5c6
---
M res/res_pjsip_session.c
1 file changed, 0 insertions(+), 5 deletions(-)

Approvals:
  George Joseph: Looks good to me, approved; Approved for Submit



diff --git a/res/res_pjsip_session.c b/res/res_pjsip_session.c
index 26c3e8a..d6c5fbc 100644
--- a/res/res_pjsip_session.c
+++ b/res/res_pjsip_session.c
@@ -2552,11 +2552,6 @@
 			iter->session_end(session);
 		}
 	}
-
-	/* Release any media resources. */
-	ao2_cleanup(session->media);
-	session->media = NULL;
-
 	return 0;
 }
 

-- 
To view, visit https://gerrit.asterisk.org/6120
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: merged
Gerrit-Change-Id: I8476b3cdacaad5157fa36b6247d0e4cdf1e8d5c6
Gerrit-Change-Number: 6120
Gerrit-PatchSet: 1
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Scott Griepentrog <sgriepentrog at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-commits/attachments/20170801/df55e601/attachment-0001.html>


More information about the asterisk-commits mailing list