(ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.

This commit is contained in:
Alan Modra 2000-10-10 15:50:35 +00:00
parent 4d7ce4dd48
commit fe268b663f
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-10-10 Alan Modra <alan@linuxcare.com.au>
* ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.
2000-10-10 Tom Rix <trix@redhat.com>
* section.c (bfd_make_section_anyway): Release newsect ptr when

View File

@ -3725,7 +3725,7 @@ ieee_make_empty_symbol (abfd)
bfd *abfd;
{
ieee_symbol_type *new =
(ieee_symbol_type *) bfd_zmalloc (sizeof (ieee_symbol_type));
(ieee_symbol_type *) bfd_zalloc (sizeof (ieee_symbol_type));
if (!new)
return NULL;
new->symbol.the_bfd = abfd;