PR gprof/16027
* source.c (annotate_source): Close ifp. * corefile.c (read_function_mappings): Close file.
This commit is contained in:
parent
d9313f4f43
commit
5af84f938a
3 changed files with 11 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue