GMP memory leakage global variable

Paul Zimmermann Paul.Zimmermann at inria.fr
Mon Jul 5 06:52:09 UTC 2021


       Hi,

I guess memory is leaking since you initialize variable n *within* the
loop and don't clear it (mpz_clear).

Paul Zimmermann


More information about the gmp-discuss mailing list