app_queue: fix a couple leaks to struct call_queue in set_member_value
authorCorey Farrell <git@cfware.com>
Thu, 30 Oct 2014 23:56:39 +0000 (23:56 +0000)
committerCorey Farrell <git@cfware.com>
Thu, 30 Oct 2014 23:56:39 +0000 (23:56 +0000)
commite4374a3abef1420e0d34d3a2f3c52082ccaa3a8f
treeb9dd9e0fef6454f56c2661207c6d6429eebaab93
parentced81afff24b6778d138242c9568ec97b05eba5c
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
........

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

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