gdb/gdbserver/
[deliverable/binutils-gdb.git] / gprof / gmon_io.c
index f48d3bcc1f0b485425f96ad352b9b83171a902f7..1b046d4ed5efe22d090919dc197b941eeca48110 100644 (file)
@@ -573,6 +573,9 @@ gmon_out_read (const char *filename)
       done (1);
     }
 
+  if (ifp != stdin)
+    fclose (ifp);
+
   if (output_style & STYLE_GMON_INFO)
     {
       printf (_("File `%s' (version %d) contains:\n"),
This page took 0.022397 seconds and 4 git commands to generate.