]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/corelow.c
replace XZALLOC with XCNEW
[thirdparty/binutils-gdb.git] / gdb / corelow.c
index 7183f62db1d2c0de5d41dabef1ed15064d873f57..8b20d3f5a08e6266189b3857499bae07cac0b3d6 100644 (file)
@@ -348,7 +348,7 @@ core_open (char *filename, int from_tty)
 
   validate_files ();
 
-  core_data = XZALLOC (struct target_section_table);
+  core_data = XCNEW (struct target_section_table);
 
   /* Find the data section */
   if (build_section_table (core_bfd,