diff options
author | Nick Clifton <nickc@redhat.com> | 2020-10-28 10:56:00 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-10-28 10:56:00 +0000 |
commit | ec3f28df02b6a59be3cfd226e5f653221c10f7ee (patch) | |
tree | 90667675b275225dde287825ae1cc45c46b64c42 /binutils | |
parent | 364bb90300750187bfe01baf890299fc25d20614 (diff) | |
download | gdb-ec3f28df02b6a59be3cfd226e5f653221c10f7ee.zip gdb-ec3f28df02b6a59be3cfd226e5f653221c10f7ee.tar.gz gdb-ec3f28df02b6a59be3cfd226e5f653221c10f7ee.tar.bz2 |
Fix compile time warning building with gcc 11.
PR 26795
* elfedit.c (process_archive): Remove spurious call to free().
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/elfedit.c | 1 |
2 files changed, 5 insertions, 1 deletions
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 <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 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) { |