func_cdr: Fix CDR_PROP payload leak
authorCorey Farrell <git@cfware.com>
Tue, 28 Oct 2014 11:12:03 +0000 (11:12 +0000)
committerCorey Farrell <git@cfware.com>
Tue, 28 Oct 2014 11:12:03 +0000 (11:12 +0000)
commitab16f4613985400d02e7b27405ed0fb2ccbb8c7c
tree5f4358bddda465b3da662360e0d1b3664cce4f04
parentef8cdd40e56a39a72537fbf5a7f5b2e11bf0b429
func_cdr: Fix CDR_PROP payload leak

Remove duplicate allocation of payload, preventing leak.

ASTERISK-24455 #close
Reported by: Corey Farrell
Review: https://reviewboard.asterisk.org/r/4113/
........

Merged revisions 426252 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@426253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
funcs/func_cdr.c