aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r--ld/ldmain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c
index 6a53667..019df71 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. */