We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d47db6b commit 08f2327Copy full SHA for 08f2327
1 file changed
src/base/math_crc64.c
@@ -94,7 +94,7 @@ dcrc64 * boxing_math_crc64_create(boxing_uint64 seed, boxing_uint64 polynom)
94
{
95
96
dcrc64 * dcrc = malloc(sizeof(dcrc64));
97
- DFATAL(dcrc, "Out of memory");
+ if (!dcrc) return dcrc;
98
99
dcrc->crc = seed;
100
0 commit comments