From: Kinsey Moore Date: Mon, 13 May 2013 18:05:11 +0000 (+0000) Subject: Close libsrtp properly X-Git-Tag: 1.8.23.0-rc1~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=95ad8ea190f324eb1d02567e48ec76d833511143;p=thirdparty%2Fasterisk.git 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 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@388529 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_srtp.c b/res/res_srtp.c index 549a1eaeb9..dea222baea 100644 --- a/res/res_srtp.c +++ b/res/res_srtp.c @@ -546,6 +546,7 @@ static void res_srtp_shutdown(void) { srtp_install_event_handler(NULL); ast_rtp_engine_unregister_srtp(); + srtp_shutdown(); g_initialized = 0; }