Add dependencies to configure rule
[deliverable/binutils-gdb.git] / gas / hash.c
index 09925f02120612ccef59f7a9a6fb26408cc170f1..655ddfcc5264d6dfad5dd34b98319fafdbc7976a 100644 (file)
@@ -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);
This page took 0.023943 seconds and 4 git commands to generate.