mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mruby-bigint: clean up preprocessor directives in mpz_clear
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user