[asterisk-commits] rmudgett: branch 1.8 r406514 - /branches/1.8/main/tcptls.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Jan 26 16:59:38 CST 2014
Author: rmudgett
Date: Sun Jan 26 16:59:35 2014
New Revision: 406514
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=406514
Log:
tcptls.c: Add missing cleanup on off nominal path.
Modified:
branches/1.8/main/tcptls.c
Modified: branches/1.8/main/tcptls.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/main/tcptls.c?view=diff&rev=406514&r1=406513&r2=406514
==============================================================================
--- branches/1.8/main/tcptls.c (original)
+++ branches/1.8/main/tcptls.c Sun Jan 26 16:59:35 2014
@@ -169,6 +169,8 @@
*/
if (ast_thread_inhibit_escalations()) {
ast_log(LOG_ERROR, "Failed to inhibit privilege escalations; killing connection\n");
+ ast_tcptls_close_session_file(tcptls_session);
+ ao2_ref(tcptls_session, -1);
return NULL;
}
More information about the asterisk-commits
mailing list