[libc-commits] [libc] [libc] Fix memory leak in MPFRWrapper cospif with MPFR pre 4.2. (PR #114415)

via libc-commits libc-commits at lists.llvm.org
Thu Oct 31 08:19:52 PDT 2024


lntue wrote:

> If this was fixed in a newer version of MPFR, consider adding a link to the commit in the PR description, and a comment to the sources if this statement should be removed at some point.

Unfortunately, this is a bug in our wrapper, not on MPFR side.  With newer MPFR, we just call the cospi function directly and there is no bug there.

https://github.com/llvm/llvm-project/pull/114415


More information about the libc-commits mailing list