aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog4
-rw-r--r--gprof/gmon_io.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index 4370951..347ac07 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,7 @@
+2010-06-15 Doug Semler <dougsemler@gmail.com>
+
+ * gmon_io.c (gmon_out_read): Remove double fclose of input file.
+
2010-06-08 Nick Clifton <nickc@redhat.com>
* gprof.texi (Sampling Error): Note that call counts and basic
diff --git a/gprof/gmon_io.c b/gprof/gmon_io.c
index 1b046d4..fbb89f5 100644
--- a/gprof/gmon_io.c
+++ b/gprof/gmon_io.c
@@ -551,8 +551,6 @@ gmon_out_read (const char *filename)
cg_tally (from_pc, self_pc, count);
}
- fclose (ifp);
-
if (hz == HZ_WRONG)
{
/* How many ticks per second? If we can't tell, report