This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ERFC_SCALED compile-time simplification


You have memory leaks in some of the functions.  If you
have an mpfr_init(), then you should have a companion
mpfr_clear().  If you have multiple items to free, you
can use mpfr_clears(a, b, c, NULL).

Otherwise, I believe the code is ok to commit.  Do
you want me to fix the leaks, and do the commit?

Committed as rev. 147621. Thanks for the review!


FX


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]