Bugzilla – Attachment #829: proposed patch for bug #873
if (it->packet == packet)
{
m_queue.erase (it);
m_size--;
return true;
}