]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_queue: fix a couple leaks to struct call_queue in set_member_value
authorCorey Farrell <git@cfware.com>
Thu, 30 Oct 2014 23:54:36 +0000 (23:54 +0000)
committerCorey Farrell <git@cfware.com>
Thu, 30 Oct 2014 23:54:36 +0000 (23:54 +0000)
commite81031c40aafbd9e99025c9c080b8836d60a4e67
tree0340fb9ed18c98deea3b87916a8b6e98426a654e
parenta0b803140b14fd0729bfd12539cda4d8dd4e5c27
app_queue: fix a couple leaks to struct call_queue in set_member_value

set_member_value has a couple leaks to references in the variable q
found through testsuite tests/queues/set_penalty.  Also remove the
REF_DEBUG_ONLY_QUEUES compiler declaration, this is no longer possible
with the updated REF_DEBUG code.

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

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@426806 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_queue.c