PR ld/16028
[external/binutils.git] / ld / ldmain.c
index 6a53667..019df71 100644 (file)
@@ -744,6 +744,7 @@ add_keepsyms_file (const char *filename)
 
   free (buf);
   link_info.strip = strip_some;
+  fclose (file);
 }
 \f
 /* Callbacks from the BFD linker routines.  */