pe_bfd_read_buildid memory leak

* peicode.h (pe_bfd_read_buildid): Free data.
This commit is contained in:
Hannes Domani 2019-12-26 12:24:45 +10:30 committed by Alan Modra
parent f096cbc296
commit f5311f2509
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2019-12-26 Hannes Domani <ssbssa@yahoo.de>
* peicode.h (pe_bfd_read_buildid): Free data.
2019-12-23 Alan Modra <amodra@gmail.com>
* vms-alpha.c (add_symbol): Add "max" parameter. Error on string

View File

@ -1396,6 +1396,8 @@ pe_bfd_read_buildid (bfd *abfd)
break;
}
}
free (data);
}
static const bfd_target *