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,7 +1,6 @@
|
|||
/* corefile.c
|
||||
|
||||
Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009,
|
||||
2010, 2011, 2012 Free Software Foundation, Inc.
|
||||
Copyright 1999-2013 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Binutils.
|
||||
|
||||
|
@ -164,6 +163,8 @@ read_function_mappings (const char *filename)
|
|||
symbol_map[i].is_first = 1;
|
||||
|
||||
qsort (symbol_map, symbol_map_count, sizeof (struct function_map), cmp_symbol_map);
|
||||
|
||||
fclose (file);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue