0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

never call malloc with size 0

instead we return nullptr. this makes the behavior consistent
across all platforms.

closes #1044
closes #1045
This commit is contained in:
Andrew Kelley 2018-06-04 14:09:31 -04:00
commit 32e0dfd4f0
2 changed files with 18 additions and 5 deletions