Removed an unneeded ao2_ref. This was a problem because unless get_member_status returned QUEUE_NORMAL, a NULL member

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
This commit is contained in:
Mark Michelson 2007-09-12 21:17:45 +00:00
parent 95ee34a654
commit 25e4377167
1 changed files with 0 additions and 1 deletions

View 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;
}