Skip to content

Commit

Permalink
fix incorrect initialization of catchall chunks in name allocator fre…
Browse files Browse the repository at this point in the history
…e list
  • Loading branch information
ryanfleury committed Jan 6, 2025
1 parent fbc1f87 commit d70ce64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/raddbg/raddbg_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit d70ce64

Please sign in to comment.