]> Git Repo - binutils.git/blobdiff - gdb/symfile.c
replace XZALLOC with XCNEW
[binutils.git] / gdb / symfile.c
index ddeefb7877307a8f3e2fef097209b9e2902cb77d..02471a4f9b28fbc8ab4aef28999d4c83ee6f38e3 100644 (file)
@@ -799,7 +799,7 @@ default_symfile_segments (bfd *abfd)
   low = bfd_get_section_vma (abfd, sect);
   high = low + bfd_get_section_size (sect);
 
-  data = XZALLOC (struct symfile_segment_data);
+  data = XCNEW (struct symfile_segment_data);
   data->num_segments = 1;
   data->segment_bases = XCALLOC (1, CORE_ADDR);
   data->segment_sizes = XCALLOC (1, CORE_ADDR);
This page took 0.024998 seconds and 4 git commands to generate.