[asterisk-commits] rmudgett: branch 12 r406516 - in /branches/12: ./ main/tcptls.c

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


Author: rmudgett
Date: Sun Jan 26 17:03:05 2014
New Revision: 406516

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

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

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

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

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

Modified: branches/12/main/tcptls.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/main/tcptls.c?view=diff&rev=406516&r1=406515&r2=406516
==============================================================================
--- branches/12/main/tcptls.c (original)
+++ branches/12/main/tcptls.c Sun Jan 26 17:03:05 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