Merge pull request #4882 from l2dy/safe-malloc

jets: fix malloc check
This commit is contained in:
Joe Bryan 2021-05-18 12:28:52 -07:00 committed by GitHub
commit ccb8d63bb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@
int argon2_alloc(uint8_t** output, size_t bytes)
{
*output = u3a_malloc(bytes);
return (NULL != output);
return 1;
}
void argon2_free(uint8_t* memory, size_t bytes)