Merged revisions 140670 via svnmerge from
authorSteve Murphy <murf@digium.com>
Tue, 2 Sep 2008 22:50:59 +0000 (22:50 +0000)
committerSteve Murphy <murf@digium.com>
Tue, 2 Sep 2008 22:50:59 +0000 (22:50 +0000)
commit1c79a23b8e2dfa20fbb7ebc368157c122722f873
tree6193710b22ba8fe01ed49bb6784a3be4897d5687
parentf3111835bb0ff31d82f72d8a46d844d0c0349bb7
Merged revisions 140670 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r140670 | murf | 2008-09-02 16:15:57 -0600 (Tue, 02 Sep 2008) | 14 lines

(closes issue #13409)
Reported by: tomaso
Patches:
      asterisk-1.6.0-rc2-cdrmemleak.patch uploaded by tomaso (license 564)

I basically spent the day, verifying that this patch
solves the problem, and doesn't hurt in non-problem
cases. Why valgrind did not plainly reveal this leak
absolutely mystifies and stuns me.

Many, many thanks to tomaso for finding and providing the fix.

........

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