From 17eb119354bc4dc479bd1505b0cab742e2adf1d5 Mon Sep 17 00:00:00 2001 From: Tim Ruffing Date: Sun, 7 Apr 2024 09:33:22 +0200 Subject: [PATCH] HACK --- src/util.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util.h b/src/util.h index cad0e1bf82..07086eb34e 100644 --- a/src/util.h +++ b/src/util.h @@ -154,11 +154,11 @@ static const secp256k1_callback default_error_callback = { #endif static SECP256K1_INLINE void *checked_malloc(const secp256k1_callback* cb, size_t size) { - void *ret = malloc(size); - if (ret == NULL) { + void *ret_is_it_you = malloc(size); + if (ret_is_it_you == NULL) { secp256k1_callback_call(cb, "Out of memory"); } - return ret; + return ret_is_it_you; } #if defined(__BIGGEST_ALIGNMENT__)