]> 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:55:34 +0000 (23:55 +0000)
committerCorey Farrell <git@cfware.com>
Thu, 30 Oct 2014 23:55:34 +0000 (23:55 +0000)
commit7bd256b711174ee69f2cd123766047627dddf800
treeb07f3986eba2f141a68e4e1cdd6dd93e466fe97c
parentd51169cd3613b58c72b2e4d95f7a1971f3343de6
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
........

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

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