mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
r19245@catbus: nickm | 2008-04-08 13:33:27 -0400
Oops. It turns out that there are some subtle differences between >= and <. svn:r14320
This commit is contained in:
@@ -89,7 +89,7 @@ alloc_chunk(size_t sz)
|
||||
static void
|
||||
chunk_free(memarea_chunk_t *chunk)
|
||||
{
|
||||
if (freelist_len >= MAX_FREELIST_LEN) {
|
||||
if (freelist_len < MAX_FREELIST_LEN) {
|
||||
++freelist_len;
|
||||
chunk->next_chunk = freelist;
|
||||
freelist = chunk;
|
||||
|
||||
Reference in New Issue
Block a user