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:
parent
d21a1922eb
commit
32e0dfd4f0
2 changed files with 18 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue