[asterisk-commits] rmudgett: branch 11 r406515 - in /branches/11: ./ main/tcptls.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Jan 26 17:01:33 CST 2014


Author: rmudgett
Date: Sun Jan 26 17:01:31 2014
New Revision: 406515

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=406515
Log:
tcptls.c: Add missing cleanup on off nominal path.
........

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

Modified:
    branches/11/   (props changed)
    branches/11/main/tcptls.c

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

Modified: branches/11/main/tcptls.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/main/tcptls.c?view=diff&rev=406515&r1=406514&r2=406515
==============================================================================
--- branches/11/main/tcptls.c (original)
+++ branches/11/main/tcptls.c Sun Jan 26 17:01:31 2014
@@ -172,6 +172,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