[asterisk-commits] kmoore: branch 1.8 r388529 - /branches/1.8/res/res_srtp.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon May 13 13:05:13 CDT 2013


Author: kmoore
Date: Mon May 13 13:05:11 2013
New Revision: 388529

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=388529
Log:
Close libsrtp properly

Ensure that libsrtp is shutdown properly when res_srtp is unloaded.

(closes issue ASTERISK-21719)
Reported by: Corey Farrell
Patches:
    res_srtp-library-shutdown.patch uploaded by Corey Farrell

Modified:
    branches/1.8/res/res_srtp.c

Modified: branches/1.8/res/res_srtp.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/res/res_srtp.c?view=diff&rev=388529&r1=388528&r2=388529
==============================================================================
--- branches/1.8/res/res_srtp.c (original)
+++ branches/1.8/res/res_srtp.c Mon May 13 13:05:11 2013
@@ -546,6 +546,7 @@
 {
 	srtp_install_event_handler(NULL);
 	ast_rtp_engine_unregister_srtp();
+	srtp_shutdown();
 	g_initialized = 0;
 }
 




More information about the asterisk-commits mailing list