mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 05:00:35 +00:00
Initialize array pointer in dynamic array
Oops. I guess I was using calloc in the vulkan branch.
This commit is contained in:
parent
52a46f5d5c
commit
9678eba59b
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@
|
|||
__auto_type ar = (array); \
|
||||
ar->size = ar->maxSize = 0; \
|
||||
ar->grow = (growSize); \
|
||||
ar->a = 0; \
|
||||
} while (0)
|
||||
|
||||
/** Clear the array.
|
||||
|
|
Loading…
Reference in a new issue