Fix compile time warning building with gcc 11.
authorNick Clifton <nickc@redhat.com>
Wed, 28 Oct 2020 10:56:00 +0000 (10:56 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 28 Oct 2020 10:56:00 +0000 (10:56 +0000)
PR 26795
* elfedit.c (process_archive): Remove spurious call to free().

binutils/ChangeLog
binutils/elfedit.c

index 0aa511dacad224a1e5c967e4c9c571e93cdc3c57..838f8b8b73336c6f4c550b3d297359905f81cee7 100644 (file)
@@ -1,3 +1,8 @@
+2020-10-28  Nick Clifton  <nickc@redhat.com>
+
+       PR 26795
+       * elfedit.c (process_archive): Remove spurious call to free().
+
 2020-10-27  Nick Clifton  <nickc@redhat.com>
 
        * dwarf.c (struct abbrev_list): New structure.  Used to collect
index d0e4e95f4d6ebdfbb88cba87434306ccd8a420bd..91cba1d7470986f039c1e6f06cfca3134ac43850 100644 (file)
@@ -655,7 +655,6 @@ process_archive (const char * file_name, FILE * file,
 
           fclose (member_file);
           free (member_file_name);
-         free (qualified_name);
         }
       else if (is_thin_archive)
         {