From ec3f28df02b6a59be3cfd226e5f653221c10f7ee Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 28 Oct 2020 10:56:00 +0000 Subject: Fix compile time warning building with gcc 11. PR 26795 * elfedit.c (process_archive): Remove spurious call to free(). --- binutils/ChangeLog | 5 +++++ binutils/elfedit.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 0aa511d..838f8b8 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 d0e4e95..91cba1d 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) { -- cgit v1.1