]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Merged revisions 375759,375761 via svnmerge from
authorAutomerge script <automerge@asterisk.org>
Sun, 4 Nov 2012 01:24:59 +0000 (01:24 +0000)
committerAutomerge script <automerge@asterisk.org>
Sun, 4 Nov 2012 01:24:59 +0000 (01:24 +0000)
commit5d25d0b9cd64bb2c14d8fd6ec9e47680453e6f38
tree965b769272515cbb2f8f4e9e631061985cc20985
parent7b42069837d9c42e6e9762816586b6c4f9ad3b92
Merged revisions 375759,375761 via svnmerge from
file:///srv/subversion/repos/asterisk/branches/10

................
  r375759 | mjordan | 2012-11-03 19:55:19 -0500 (Sat, 03 Nov 2012) | 18 lines

  Fix memory leak when unloading XML documentation

  This patch is a modified version of a patch originally committed for the
  Asterisk 11 branch in r375756.  A portion of that patch, that fixed the
  memory leak during unloading XML documentation, applies to branches 1.8
  and 10 as well.

  The patch for this issue was modified for these two branches.

  (issue ASTERISK-20648)
  Reported by: Corey Farrell
  Tested by: mjordan
  patches:
    xmldoc-memory_leak.patch uploaded by Corey Farrell (license 5909)
  ........

  Merged revisions 375758 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................
  r375761 | mjordan | 2012-11-03 20:13:37 -0500 (Sat, 03 Nov 2012) | 15 lines

  Properly finalize prepared SQLite3 statements to prevent memory leak

  The AstDB uses prepared SQLite3 statements to retrieve data from the SQLite3
  database.  These statements should be finalized during Asterisk shutdown so
  that the SQLite3 database can be properly closed.  Failure to finalize the
  statements results in a memory leak and a failure when closing the database.

  This patch fixes those issues by ensuring that all prepared statements are
  properly finalized at shutdown.

  (closes issue ASTERISK-20647)
  Reported by: Corey Farrell
  patches:
    astdb-sqlite3_close.patch uploaded by Corey Farrell (license 5909)
................

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