mruby-bigint: clean up preprocessor directives in mpz_clear

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Yukihiro "Matz" Matsumoto
2025-10-13 11:30:15 +09:00
parent f69fe329a9
commit 4f52868923
+2 -2
View File
@@ -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;
}