Removed an unneeded ao2_ref. This was a problem because unless get_member_status...
[asterisk/asterisk.git] / 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;
 }