Fix a bug in refpool.
This commit is contained in:
parent
0654f53b0f
commit
e661734b9a
1 changed files with 3 additions and 0 deletions
|
@ -76,6 +76,9 @@ dtor(void *ptr)
|
|||
free(pool->data);
|
||||
|
||||
top = pool->prev;
|
||||
|
||||
if (top != NULL)
|
||||
top->next = NULL;
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue