replace XZALLOC with XCNEW
[deliverable/binutils-gdb.git] / gdb / solib-darwin.c
index ba807a2746cba1a00052b69b3e1e82c61db99da6..e8d46672189c02e42b2caee6f10e5d57d289f87d 100644 (file)
@@ -103,7 +103,7 @@ get_darwin_info (void)
   if (info != NULL)
     return info;
 
-  info = XZALLOC (struct darwin_info);
+  info = XCNEW (struct darwin_info);
   set_program_space_data (current_program_space,
                          solib_darwin_pspace_data, info);
   return info;
@@ -304,7 +304,7 @@ darwin_current_sos (void)
        break;
 
       /* Create and fill the new so_list element.  */
-      dnew = XZALLOC (struct darwin_so_list);
+      dnew = XCNEW (struct darwin_so_list);
       new = &dnew->sl;
       old_chain = make_cleanup (xfree, dnew);
 
This page took 0.037052 seconds and 4 git commands to generate.