[Bug gcov-profile/49333] [cppcheck][PATCH] found a resource leak in gcc/gcc/gcov-io.c

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 8 22:25:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49333

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-06-08 22:24:47 UTC ---
Actually both of wrong, at the return point fd is associated with gcov_var.file
(via fdopen) and fclose is called on the gcov_var.file.



More information about the Gcc-bugs mailing list