[asterisk-commits] mmichelson: branch 10 r366053 - in /branches/10: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 10 11:13:11 CDT 2012


Author: mmichelson
Date: Thu May 10 11:13:06 2012
New Revision: 366053

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=366053
Log:
Close the proper tcptls_session when session creation fails.

(issue ASTERISK-19278)
........

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

Modified:
    branches/10/   (props changed)
    branches/10/channels/chan_sip.c

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

Modified: branches/10/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/channels/chan_sip.c?view=diff&rev=366053&r1=366052&r2=366053
==============================================================================
--- branches/10/channels/chan_sip.c (original)
+++ branches/10/channels/chan_sip.c Thu May 10 11:13:06 2012
@@ -26441,7 +26441,7 @@
 		ao2_t_ref(ca, -1, "failed to create client, getting rid of client tcptls_session arguments");
 	}
 	if (s->tcptls_session) {
-		ast_tcptls_close_session_file(tcptls_session);
+		ast_tcptls_close_session_file(s->tcptls_session);
 		s->fd = -1;
 		ao2_ref(s->tcptls_session, -1);
 		s->tcptls_session = NULL;




More information about the asterisk-commits mailing list