[asterisk-commits] twilson: branch group/srtp_reboot r254405 - /team/group/srtp_reboot/channels/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Mar 24 21:21:10 CDT 2010
Author: twilson
Date: Wed Mar 24 21:21:06 2010
New Revision: 254405
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=254405
Log:
Don't forget to clean up the new SRTP sessions
Modified:
team/group/srtp_reboot/channels/chan_sip.c
Modified: team/group/srtp_reboot/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/srtp_reboot/channels/chan_sip.c?view=diff&rev=254405&r1=254404&r2=254405
==============================================================================
--- team/group/srtp_reboot/channels/chan_sip.c (original)
+++ team/group/srtp_reboot/channels/chan_sip.c Wed Mar 24 21:21:06 2010
@@ -4421,6 +4421,16 @@
p->srtp = NULL;
}
+ if (p->vsrtp) {
+ sip_srtp_destroy(p->vsrtp);
+ p->vsrtp = NULL;
+ }
+
+ if (p->tsrtp) {
+ sip_srtp_destroy(p->tsrtp);
+ p->tsrtp = NULL;
+ }
+
ast_string_field_free_memory(p);
if (p->socket.tcptls_session) {
More information about the asterisk-commits
mailing list