summaryrefslogtreecommitdiff
path: root/bfd/elf-strtab.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-06-10 10:18:33 +0000
committerNick Clifton <nickc@redhat.com>2002-06-10 10:18:33 +0000
commita6d4589eff4b7ee770ac31bda14dae45b49719ea (patch)
tree9bb1b4d62cb647a885af420d0ddd20002db085df /bfd/elf-strtab.c
parent409ed240c978d7eff2131ea157a781a8bea0adf1 (diff)
downloadbinutils-redhat-a6d4589eff4b7ee770ac31bda14dae45b49719ea.tar.gz
Use htab_create_alloc with calloc, not htab_alloc.
Diffstat (limited to 'bfd/elf-strtab.c')
-rw-r--r--bfd/elf-strtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf-strtab.c b/bfd/elf-strtab.c
index e2568a3f69..7a993c252f 100644
--- a/bfd/elf-strtab.c
+++ b/bfd/elf-strtab.c
@@ -352,7 +352,7 @@ _bfd_elf_strtab_finalize (tab)
qsort (array, size, sizeof (struct elf_strtab_hash_entry *), cmplengthentry);
- last4tab = htab_create (size * 4, NULL, last4_eq, NULL);
+ last4tab = htab_create_alloc (size * 4, NULL, last4_eq, NULL, calloc, free);
if (last4tab == NULL)
goto alloc_failure;