replace XZALLOC with XCNEW
[deliverable/binutils-gdb.git] / gdb / auxv.c
index b08f1d5e4663669802f6bcff7aeedec7da0f90bd..6223de2682425b007e96c14acfa219e075a58f8f 100644 (file)
@@ -341,7 +341,7 @@ get_auxv_inferior_data (struct target_ops *ops)
   info = inferior_data (inf, auxv_inferior_data);
   if (info == NULL)
     {
-      info = XZALLOC (struct auxv_info);
+      info = XCNEW (struct auxv_info);
       info->length = target_read_alloc (ops, TARGET_OBJECT_AUXV,
                                        NULL, &info->data);
       set_inferior_data (inf, auxv_inferior_data, info);
This page took 0.024753 seconds and 4 git commands to generate.