/* Decrease the reference count of the net buffer queue by one. The real resource free operation isn't performed until the reference count of the net buffer queue is decreased to 0. */
VOID EFIAPI NetbufQueFree(IN NET_BUF_QUEUE *NbufQue)
/* Decrease the reference count of the net buffer queue by one. The real resource free operation isn't performed until the reference count of the net buffer queue is decreased to 0. */
VOID EFIAPI NetbufQueFree(IN NET_BUF_QUEUE *NbufQue)
{
  ASSERT (NbufQue != NULL);
  NET_CHECK_SIGNATURE (NbufQue, NET_QUE_SIGNATURE);
  NbufQue->RefCnt--;
  if (NbufQue->RefCnt == 0) {
    NetbufQueFlush (NbufQue);
    FreePool (NbufQue);
  }
}