From 4f528689231ed617a70f128668aa7cdf72ee8bf5 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Mon, 13 Oct 2025 11:30:15 +0900 Subject: [PATCH] mruby-bigint: clean up preprocessor directives in mpz_clear Co-authored-by: Claude --- mrbgems/mruby-bigint/core/bigint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mrbgems/mruby-bigint/core/bigint.c b/mrbgems/mruby-bigint/core/bigint.c index cf5aae732..cd9fe5259 100644 --- a/mrbgems/mruby-bigint/core/bigint.c +++ b/mrbgems/mruby-bigint/core/bigint.c @@ -295,10 +295,10 @@ mpz_clear(mpz_ctx_t *ctx, mpz_t *s) /* Pool memory - don't free, just mark as unused */ } else { -#endif mrb_free(MPZ_MRB(ctx), s->p); -#if MRB_BIGINT_POOL_SIZE > 0 } +#else + mrb_free(MPZ_MRB(ctx), s->p); #endif s->p = NULL; }