mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[set] Initialize pool's dynamic arrays
Testing had missed this because qfvis is the main user of set pools.
This commit is contained in:
parent
68b5cd89d2
commit
5255c9c7a8
1 changed files with 4 additions and 2 deletions
|
@ -80,8 +80,10 @@ set_del_iter_r (set_pool_t *set_pool, set_iter_t *set_iter)
|
|||
void
|
||||
set_pool_init (set_pool_t *set_pool)
|
||||
{
|
||||
set_pool->set_freelist = 0;
|
||||
set_pool->set_iter_freelist = 0;
|
||||
*set_pool = (set_pool_t) {
|
||||
.set_blocks = DARRAY_STATIC_INIT (8),
|
||||
.set_iter_blocks = DARRAY_STATIC_INIT (8),
|
||||
};
|
||||
}
|
||||
|
||||
inline set_t *
|
||||
|
|
Loading…
Reference in a new issue