[asterisk-commits] kmoore: trunk r388531 - in /trunk: ./ res/res_srtp.c

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


Author: kmoore
Date: Mon May 13 13:10:22 2013
New Revision: 388531

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=388531
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
........

Merged revisions 388529 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 388530 from http://svn.asterisk.org/svn/asterisk/branches/11

Modified:
    trunk/   (props changed)
    trunk/res/res_srtp.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.

Modified: trunk/res/res_srtp.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_srtp.c?view=diff&rev=388531&r1=388530&r2=388531
==============================================================================
--- trunk/res/res_srtp.c (original)
+++ trunk/res/res_srtp.c Mon May 13 13:10:22 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