do not ast_hangup() on a NULL channel.
authorLuigi Rizzo <rizzo@icir.org>
Tue, 21 Nov 2006 11:07:30 +0000 (11:07 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Tue, 21 Nov 2006 11:07:30 +0000 (11:07 +0000)
commit64a9c28c3bf1f2d731b60ffb3a9bb9f9cf4d04a5
treeaa4abeea80d44832a730fcb846278e370ea99d07
parente78c50a201b8921d6d59eb86872c63d271b26720
do not ast_hangup() on a NULL channel.
In the original code this would happen in the case of
o->forwards >=  AST_MAX_FORWARDS

Likely an 1.2/1.4 isse as well - please someone have a look,
while I am hunting a few more similar panics now.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47880 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_dial.c