better fix for the previous bug.
authorLuigi Rizzo <rizzo@icir.org>
Tue, 21 Nov 2006 11:53:06 +0000 (11:53 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Tue, 21 Nov 2006 11:53:06 +0000 (11:53 +0000)
commitbbba4e5a20ddd83bee7c78957e14da441d7dd645
tree89f1e4cd6cff35603c18d029275a111576e32087
parent64a9c28c3bf1f2d731b60ffb3a9bb9f9cf4d04a5
better fix for the previous bug.

In general this code needs a deep revision, because the body of
do_forward() deletes/overwrites the output channel without freeing
the resouce in some cases, and without notifying the caller.

Also, on FreeBSD with MALLOC_OPTIONS set i am seeing various panics
(duplicate freee etc.)

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