From: Nick Clifton Date: Wed, 28 Oct 2020 10:56:00 +0000 (+0000) Subject: Fix compile time warning building with gcc 11. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ec3f28df02b6a59be3cfd226e5f653221c10f7ee;p=binutils-gdb.git Fix compile time warning building with gcc 11. PR 26795 * elfedit.c (process_archive): Remove spurious call to free(). --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 0aa511dacad..838f8b8b733 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2020-10-28 Nick Clifton + + PR 26795 + * elfedit.c (process_archive): Remove spurious call to free(). + 2020-10-27 Nick Clifton * dwarf.c (struct abbrev_list): New structure. Used to collect diff --git a/binutils/elfedit.c b/binutils/elfedit.c index d0e4e95f4d6..91cba1d7470 100644 --- a/binutils/elfedit.c +++ b/binutils/elfedit.c @@ -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) {