replace XMALLOC with XNEW
[deliverable/binutils-gdb.git] / gdb / user-regs.c
index 480c968c81031e1b7cc3508b406d6a959354fa08..db0cac8e6916d10b99fa9f2c73ecd9326e591fad 100644 (file)
@@ -85,7 +85,7 @@ user_reg_add_builtin (const char *name, user_reg_read_ftype *read,
                      const void *baton)
 {
   append_user_reg (&builtin_user_regs, name, read, baton,
-                  XMALLOC (struct user_reg));
+                  XNEW (struct user_reg));
 }
 
 /* Per-architecture user registers.  Start with the builtin user
This page took 0.023423 seconds and 4 git commands to generate.