diff options
author | Nick Clifton <nickc@redhat.com> | 2013-10-09 16:30:02 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-10-09 16:30:02 +0000 |
commit | 9cc84e86500217bfe5353eefe582ea50bde8374e (patch) | |
tree | d1e26e6552b79b1d9dca5270398e6dccce0673a6 /ld/ldmain.c | |
parent | 627f3070f8d3b73216138dc16810a3a09aa05a5a (diff) | |
download | binutils-redhat-9cc84e86500217bfe5353eefe582ea50bde8374e.tar.gz |
PR ld/16028
* ldmain.c (add_keepsyms_file): Close file at end of function.
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r-- | ld/ldmain.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c index 6a53667db1..019df71a2c 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c @@ -744,6 +744,7 @@ add_keepsyms_file (const char *filename) free (buf); link_info.strip = strip_some; + fclose (file); } /* Callbacks from the BFD linker routines. */ |