[asterisk-commits] lmadsen: tag 1.8.4.1 r320171 - /tags/1.8.4.1/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri May 20 13:19:58 CDT 2011


Author: lmadsen
Date: Fri May 20 13:19:47 2011
New Revision: 320171

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=320171
Log:
Merge changes per issue #19192.

Modified:
    tags/1.8.4.1/channels/chan_sip.c

Modified: tags/1.8.4.1/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/tags/1.8.4.1/channels/chan_sip.c?view=diff&rev=320171&r1=320170&r2=320171
==============================================================================
--- tags/1.8.4.1/channels/chan_sip.c (original)
+++ tags/1.8.4.1/channels/chan_sip.c Fri May 20 13:19:47 2011
@@ -2728,7 +2728,7 @@
 	ast_debug(2, "Shutting down thread for %s server\n", tcptls_session->ssl ? "SSL" : "TCP");
 
 cleanup:
-	if (!tcptls_session->client && !authenticated) {
+	if (tcptls_session && !tcptls_session->client && !authenticated) {
 		ast_atomic_fetchadd_int(&unauth_sessions, -1);
 	}
 




More information about the asterisk-commits mailing list