2010-03-16 Segher Boessenkool <segher@kernel.crashing.org>

* gmon_io.c (gmon_out_read): Close file when done.
This commit is contained in:
Segher Boessenkool 2010-03-16 18:24:24 +00:00
parent e92d13d5bc
commit d9097b0b39
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2010-03-16 Segher Boessenkool <segher@kernel.crashing.org>
* gmon_io.c (gmon_out_read): Close file when done.
2010-02-15 Nick Clifton <nickc@redhat.com>
* po/vi.po: Updated Vietnamese translation.

View File

@ -573,6 +573,9 @@ gmon_out_read (const char *filename)
done (1);
}
if (ifp != stdin)
fclose (ifp);
if (output_style & STYLE_GMON_INFO)
{
printf (_("File `%s' (version %d) contains:\n"),