[svn-commits] mattf: branch mattf/1.6.0-chan_ccs r261697 - /team/mattf/1.6.0-chan_ccs/chann...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu May 6 13:20:40 CDT 2010


Author: mattf
Date: Thu May  6 13:20:36 2010
New Revision: 261697

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=261697
Log:
Make sure we check the owner pointer before enacting a soft hangup

Modified:
    team/mattf/1.6.0-chan_ccs/channels/chan_ccs.c

Modified: team/mattf/1.6.0-chan_ccs/channels/chan_ccs.c
URL: http://svnview.digium.com/svn/asterisk/team/mattf/1.6.0-chan_ccs/channels/chan_ccs.c?view=diff&rev=261697&r1=261696&r2=261697
==============================================================================
--- team/mattf/1.6.0-chan_ccs/channels/chan_ccs.c (original)
+++ team/mattf/1.6.0-chan_ccs/channels/chan_ccs.c Thu May  6 13:20:36 2010
@@ -1390,7 +1390,8 @@
 
 				isup_rlc(ss7, e->rel.call);
 
-				ast_softhangup_nolock(owner, AST_SOFTHANGUP_DEV);
+				if (owner)
+					ast_softhangup_nolock(owner, AST_SOFTHANGUP_DEV);
 
 				break;
 			}




More information about the svn-commits mailing list