diff options
| author | Jake Koroman <jake@jakekoroman.com> | 2025-07-23 16:29:35 -0400 |
|---|---|---|
| committer | Jake Koroman <jake@jakekoroman.com> | 2025-07-23 16:29:35 -0400 |
| commit | caf0a5f167eafb3fd8f26b0c3ef4f11b7ca72e55 (patch) | |
| tree | 5084ece72066cf0cfbee1889459a42116ca07cc9 | |
| parent | b20b400d4c56a8dc38aac00c39f413f9603dd171 (diff) | |
jrk_arena_create use jrk_ecalloc.
| -rw-r--r-- | jrk.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -170,7 +170,7 @@ jrk_arena_create(u64 n) jrk_arena result; result.length = 0; result.capacity = n; - result.data = malloc(result.capacity); + result.data = jrk_ecalloc(result.capacity, 1); return result; } |
