Memory leak fix
authorKevin Harwell <kharwell@digium.com>
Fri, 30 Aug 2013 17:59:06 +0000 (17:59 +0000)
committerKevin Harwell <kharwell@digium.com>
Fri, 30 Aug 2013 17:59:06 +0000 (17:59 +0000)
commitaf1747ee6c23359e9ac9b88d7821a1985899de60
tree83bce3f9ea8f1ba8746d418f5503d9d4c3959f11
parent9f1379686f3cf2df9c73aa32dcf37bba520bd75a
Memory leak fix

ast_xmldoc_printable returns an allocated block that must be freed by the
caller.  Fixed manager.c and res_agi.c to stop leaking these results.

(closes issue ASTERISK-22395)
Reported by: Corey Farrell
Patches:
     manager-leaks-12.patch uploaded by coreyfarrell (license 5909)
     res_agi-xmldoc-leaks.patch uploaded by coreyfarrell (license 5909)
........

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

Merged revisions 398061 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 398062 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@398063 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/manager.c
res/res_agi.c