Check dependecies for leading `/' in this dir too.
[deliverable/binutils-gdb.git] / binutils / objdump.c
index cd61ec0d8dceb008820e0f88bfd00803a1781178..4adabd2e56203b3492971d82e090bec00541af1b 100644 (file)
@@ -2653,6 +2653,7 @@ display_target_list ()
        {
          if (bfd_get_error () != bfd_error_invalid_operation)
            nonfatal (p->name);
+         bfd_close_all_done (abfd);
          continue;
        }
 
@@ -2660,6 +2661,7 @@ display_target_list ()
        if (bfd_set_arch_mach (abfd, (enum bfd_architecture) a, 0))
          printf ("  %s\n",
                  bfd_printable_arch_mach ((enum bfd_architecture) a, 0));
+      bfd_close_all_done (abfd);
     }
   unlink (dummy_name);
   free (dummy_name);
@@ -2727,6 +2729,8 @@ display_info_table (first, last)
                  putchar ('-');
                putchar (' ');
              }
+           if (abfd != NULL)
+             bfd_close_all_done (abfd);
          }
        putchar ('\n');
       }
This page took 0.0247 seconds and 4 git commands to generate.