diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-06-04 14:09:31 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-06-04 14:09:31 -0400 |
| commit | 32e0dfd4f0dab351a024e7680280343db5d7c43e (patch) | |
| tree | 7e2adc8de09eeb4f8d8319979d2c343fbfe919ca /std/json_test.zig | |
| parent | d21a1922eb5d76b9b0d0611eaeb42c91f83234ab (diff) | |
| download | zig-32e0dfd4f0dab351a024e7680280343db5d7c43e.tar.gz zig-32e0dfd4f0dab351a024e7680280343db5d7c43e.zip | |
never call malloc with size 0
instead we return nullptr. this makes the behavior consistent
across all platforms.
closes #1044
closes #1045
Diffstat (limited to 'std/json_test.zig')
0 files changed, 0 insertions, 0 deletions
