mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-13 07:32:23 -07:00
fix incorrect initialization of catchall chunks in name allocator free list
This commit is contained in:
@@ -1161,6 +1161,7 @@ rd_name_alloc(String8 string)
|
||||
}
|
||||
U8 *chunk_memory = push_array(rd_state->arena, U8, chunk_size);
|
||||
RD_NameChunkNode *chunk = (RD_NameChunkNode *)chunk_memory;
|
||||
chunk->size = chunk_size;
|
||||
SLLStackPush(rd_state->free_name_chunks[bucket_idx], chunk);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user