Merged revisions 228692 via svnmerge from
authorDavid Vossel <dvossel@digium.com>
Fri, 6 Nov 2009 22:35:44 +0000 (22:35 +0000)
committerDavid Vossel <dvossel@digium.com>
Fri, 6 Nov 2009 22:35:44 +0000 (22:35 +0000)
commit10fa8fe8d0a1146323a9bc4b4c4feb3d6275c5d7
treed9a87462c2df3c97f9c580410255ed6397840624
parent20e56c9d36b76efb153ce2d694e09e16547f525e
Merged revisions 228692 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r228692 | dvossel | 2009-11-06 16:33:27 -0600 (Fri, 06 Nov 2009) | 9 lines

  fixes audiohook write crash occuring in chan_spy whisper mode.

  After writing to the audiohook list in ast_write(), frames
  were being freed incorrectly.  Under certain conditions this
  resulted in a double free crash.

  (closes issue #16133)
  Reported by: wetwired

  (closes issue #16045)
  Reported by: bluecrow76
  Patches:
        issue16045.diff uploaded by dvossel (license 671)
  Tested by: bluecrow76, dvossel, habile
........

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