From fe268b663f34f05e8c3136c0e74baef42be27992 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 10 Oct 2000 15:50:35 +0000 Subject: [PATCH] (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc. --- bfd/ChangeLog | 4 ++++ bfd/ieee.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 5ab46c3b1e3..4f2fb8dd3b3 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2000-10-10 Alan Modra + + * ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc. + 2000-10-10 Tom Rix * section.c (bfd_make_section_anyway): Release newsect ptr when diff --git a/bfd/ieee.c b/bfd/ieee.c index e66e2056a7d..97ad7cc844e 100644 --- a/bfd/ieee.c +++ b/bfd/ieee.c @@ -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; -- 2.30.2