[svn-commits] rmudgett: trunk r406517 - in /trunk: ./ main/tcptls.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sun Jan 26 17:04:48 CST 2014


Author: rmudgett
Date: Sun Jan 26 17:04:46 2014
New Revision: 406517

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

Merged revisions 406516 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    trunk/   (props changed)
    trunk/main/tcptls.c

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

Modified: trunk/main/tcptls.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/tcptls.c?view=diff&rev=406517&r1=406516&r2=406517
==============================================================================
--- trunk/main/tcptls.c (original)
+++ trunk/main/tcptls.c Sun Jan 26 17:04:46 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 svn-commits mailing list