Don't use ast_frdup() in the AST_LIST_INSERT_TAIL macro directly. That was a
authorRussell Bryant <russell@russellbryant.com>
Sun, 3 Sep 2006 16:41:02 +0000 (16:41 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sun, 3 Sep 2006 16:41:02 +0000 (16:41 +0000)
commite576ac09309fd2148da271f570a965e57d6d2308
tree139f0e9d293e511317274add7273b458aad945dd
parentc4dac0c1e59236f9197c7c17c1fdbfff8e1276d6
Don't use ast_frdup() in the AST_LIST_INSERT_TAIL macro directly.  That was a
very stupid thing to do.  It ends up duplicating the frame twice, linking in
one of them and setting the tail pointer to the other one.  Sorry ...

Thanks to file for pointing out the breakage!!!  file rocks.

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