mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-29 23:36:06 +08:00
PR gprof/16027
* source.c (annotate_source): Close ifp. * corefile.c (read_function_mappings): Close file.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user