diff options
Diffstat (limited to 'gas/hash.c')
-rw-r--r-- | gas/hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -87,7 +87,7 @@ hash_new_sized (unsigned long size) unsigned long alloc; struct hash_control *ret; - ret = (struct hash_control *) xmalloc (sizeof *ret); + ret = XNEW (struct hash_control); obstack_begin (&ret->memory, chunksize); alloc = size * sizeof (struct hash_entry *); ret->table = (struct hash_entry **) obstack_alloc (&ret->memory, alloc); |