]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Merged revisions 370206 via svnmerge from
authorAutomerge script <automerge@asterisk.org>
Wed, 18 Jul 2012 19:23:25 +0000 (19:23 +0000)
committerAutomerge script <automerge@asterisk.org>
Wed, 18 Jul 2012 19:23:25 +0000 (19:23 +0000)
commit1440b3f1ec794aa08643fd9dbafadd10c02a7286
treeb992a2dd16525779c38d35bffc7bf859741bb2f1
parent8d9bfd33420664bd6dcfeb521864b53b32df35f1
Merged revisions 370206 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r370206 | kpfleming | 2012-07-18 14:14:09 -0500 (Wed, 18 Jul 2012) | 19 lines

  Resolve severe memory leak in CEL logging modules.

  A customer reported a significant memory leak using Asterisk 1.8. They
  have tracked it down to ast_cel_fabricate_channel_from_event() in
  main/cel.c, which is called by both in-tree CEL logging modules
  (cel_custom.c and cel_sqlite3_custom.c) for each and every CEL event
  that they log.

  The cause was an incorrect assumption about how data attached to an
  ast_channel would be handled when the channel is destroyed; the data
  is now stored in a datastore attached to the channel, which is
  destroyed along with the channel at the proper time.

  (closes issue AST-916)
  Review: https://reviewboard.asterisk.org/r/2053/
  ........

  Merged revisions 370205 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10-digiumphones@370224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/cel.c