]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pbx: ast_custom_function_unregister resource leak
authorScott Griepentrog <sgriepentrog@digium.com>
Fri, 14 Feb 2014 21:53:38 +0000 (21:53 +0000)
committerScott Griepentrog <sgriepentrog@digium.com>
Fri, 14 Feb 2014 21:53:38 +0000 (21:53 +0000)
commit8387e420b913932f7bb9a1bef9ac56cf18ab6016
tree2458764f5897de9e3a022445d367bc139158f1cc
parent016326c992a045fb9fe795885e8129abdaf7bde0
pbx: ast_custom_function_unregister resource leak

In pbx.c ast_custom_function_unregister(), a list
of escalations being removed from the list wasn't
being free'd creating a leak. This patch corrects
that by freeing the records.

Review: https://reviewboard.asterisk.org/r/3213/
Reported by: Corey Farrell
Patches:
     acf_escalating_leak.patch uploaded by coreyfarrell (license 5909)
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@408143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/pbx.c