This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/79339] [7 Regression] Memory leak in gimple-ssa-sprintf.c


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79339

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Fri Feb  3 08:20:57 2017
New Revision: 245146

URL: https://gcc.gnu.org/viewcvs?rev=245146&root=gcc&view=rev
Log:
Fix memory leaks in gimple-ssa-sprintf.c (PR tree-optimization/79339).

2017-02-03  Martin Liska  <mliska@suse.cz>

        PR tree-optimization/79339
        * gimple-ssa-sprintf.c (format_floating_max): Call mpfr_clear.
        (format_floating): Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-ssa-sprintf.c

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