Browse Source

Use newly allocated queue backing store...

Stupid me forgot to change the pointer and free the old one.
1.0.0
Georg Hopp 10 years ago
parent
commit
f41259db69
  1. 2
      src/queue/put.c

2
src/queue/put.c

@ -42,6 +42,8 @@ _TR_queueResize(TR_Queue this, size_t split)
VPSIZE(this->size - this->start));
this->start = GROWTH + this->start;
this->size = new_size;
TR_MEM_FREE(this->data);
this->data = new;
}
void

Loading…
Cancel
Save