rust-secp256k1-unsafe-fast/secp256k1-sys/depend/util.h.patch

11 lines
214 B
Diff
Raw Normal View History

148,152c148,150
< void *ret = malloc(size);
< if (ret == NULL) {
< secp256k1_callback_call(cb, "Out of memory");
< }
< return ret;
---
> (void) cb;
> (void) size;
> return NULL;