summaryrefslogtreecommitdiff
path: root/gprof/source.c
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/source.c')
-rw-r--r--gprof/source.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gprof/source.c b/gprof/source.c
index 1a445d3315..120e51ab98 100644
--- a/gprof/source.c
+++ b/gprof/source.c
@@ -1,6 +1,6 @@
/* source.c - Keep track of source files.
- Copyright 2000, 2001, 2002, 2004, 2007 Free Software Foundation, Inc.
+ Copyright 2000-2013 Free Software Foundation, Inc.
This file is part of GNU Binutils.
@@ -259,5 +259,6 @@ annotate_source (Source_File *sf, unsigned int max_width,
}
free (annotation);
+ fclose (ifp);
return ofp;
}