diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2005-03-22 21:52:52 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2005-03-22 21:52:52 +0000 |
commit | 672c2d7e5228b9c71b77d94647346f7b6a0cb2e4 (patch) | |
tree | 8267dd4e3e088c1f88ad3051c78bb44c3db5d056 /bfd/hash.c | |
parent | c927f9efbfa41c7363e214f8a773c7fef8e56930 (diff) | |
download | gdb-672c2d7e5228b9c71b77d94647346f7b6a0cb2e4.zip gdb-672c2d7e5228b9c71b77d94647346f7b6a0cb2e4.tar.gz gdb-672c2d7e5228b9c71b77d94647346f7b6a0cb2e4.tar.bz2 |
* hash.c (strtab_hash_newfunc): Fix typo in allocated size.
Diffstat (limited to 'bfd/hash.c')
-rw-r--r-- | bfd/hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |