Merged revisions 67716 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Wed, 6 Jun 2007 16:58:28 +0000 (16:58 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 6 Jun 2007 16:58:28 +0000 (16:58 +0000)
commit18101ff0e35a526c5380b5ecebc6bdcc078bf0e3
treee52da8bd1e1dc4b33664910a8e8d22def45b0668
parent6ddcfff1c7768cf1f617bb905929fe9f60d6751f
Merged revisions 67716 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r67716 | russell | 2007-06-06 11:55:59 -0500 (Wed, 06 Jun 2007) | 13 lines

Merged revisions 67715 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r67715 | russell | 2007-06-06 11:40:51 -0500 (Wed, 06 Jun 2007) | 5 lines

We have some bug reports showing crashes due to a double free of a channel.
Add a sanity check to ast_channel_free() to make sure we don't go on trying
to free a channel that wasn't found in the channel list.
(issue #8850, and others...)

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/linkedlists.h
main/channel.c