summaryrefslogtreecommitdiff
path: root/main/features_config.c
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2014-11-17 16:00:54 +0000
committerCorey Farrell <git@cfware.com>2014-11-17 16:00:54 +0000
commite8286df19c1a5982d80236a1e308ca336cdb7125 (patch)
treeabf4b6512ad61a98fef63bddb6deaa75eca0ced9 /main/features_config.c
parent45f4fe6f1c5891ba4c424abec27d085959edf0b4 (diff)
chan_sip: Fix theoretical leak of p->refer.
If transmit_refer is called when p->refer is already allocated, it leaks the previous allocation. Updated code to always free previous allocation during a new allocation. Also instead of checking if we have a previous allocation, always create a clean record. ASTERISK-15242 #close Reported by: David Woolley Review: https://reviewboard.asterisk.org/r/4160/ ........ Merged revisions 428117 from http://svn.asterisk.org/svn/asterisk/branches/11 ........ Merged revisions 428118 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@428119 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/features_config.c')
0 files changed, 0 insertions, 0 deletions