replace XCALLOC with XCNEWVEC or XCNEW
[deliverable/binutils-gdb.git] / gdb / solib-aix.c
index 8f335f6a76c3649fc342bc15dc4bc870d3496dea..78d2753d46780fe90a59f05eca6b8572813b73c2 100644 (file)
@@ -470,7 +470,7 @@ solib_aix_get_section_offsets (struct objfile *objfile,
   bfd *abfd = objfile->obfd;
   int i;
 
-  offsets = XCALLOC (objfile->num_sections, struct section_offsets);
+  offsets = XCNEWVEC (struct section_offsets, objfile->num_sections);
 
   /* .text */
 
This page took 0.024309 seconds and 4 git commands to generate.