replace XCALLOC with XCNEWVEC or XCNEW
[deliverable/binutils-gdb.git] / gdb / minsyms.c
index ee9575c8fa527a6daf41e09563feecc04a4260db..c7ae981605c4662dfc1138bc0bd0eab31f986f1b 100644 (file)
@@ -935,7 +935,7 @@ prim_record_minimal_symbol_full (const char *name, int name_len, int copy_name,
 
   if (msym_bunch_index == BUNCH_SIZE)
     {
-      new = XCALLOC (1, struct msym_bunch);
+      new = XCNEW (struct msym_bunch);
       msym_bunch_index = 0;
       new->next = msym_bunch;
       msym_bunch = new;
This page took 0.024252 seconds and 4 git commands to generate.