mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 19:14:52 +08:00
* hash.c (strtab_hash_newfunc): Fix typo in allocated size.
This commit is contained in:
parent
c927f9efbf
commit
672c2d7e52
@ -1,3 +1,7 @@
|
||||
2005-03-22 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
* hash.c (strtab_hash_newfunc): Fix typo in allocated size.
|
||||
|
||||
2005-03-22 Bob Wilson <bob.wilson@acm.org>
|
||||
|
||||
* xtensa-isa.c (xtensa_opcode_lookup, xtensa_state_lookup,
|
||||
|
@ -555,7 +555,7 @@ strtab_hash_newfunc (struct bfd_hash_entry *entry,
|
||||
/* Allocate the structure if it has not already been allocated by a
|
||||
subclass. */
|
||||
if (ret == NULL)
|
||||
ret = bfd_hash_allocate (table, sizeof (* entry));
|
||||
ret = bfd_hash_allocate (table, sizeof (* ret));
|
||||
if (ret == NULL)
|
||||
return NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user