Removed an unneeded ao2_ref. This was a problem because unless get_member_status...
authorMark Michelson <mmichelson@digium.com>
Wed, 12 Sep 2007 21:17:45 +0000 (21:17 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 12 Sep 2007 21:17:45 +0000 (21:17 +0000)
would be unreferenced. While this didn't cause any crashes or anything terrible, it still is incorrect

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

apps/app_queue.c

index cb5b9b1..adf7525 100644 (file)
@@ -542,7 +542,6 @@ static enum queue_member_status get_member_status(struct call_queue *q, int max_
                }
        }
 
-       ao2_ref(member, -1);
        ast_mutex_unlock(&q->lock);
        return result;
 }