Replace some xmalloc-family functions with XNEW-family ones
[deliverable/binutils-gdb.git] / gdb / arm-linux-nat.c
index fb65a5d3f9b37ebc8dfea12bde568493cdcacebb..a63b181697cccc3a7f0267ffde3f866d7d4d6c3c 100644 (file)
@@ -791,7 +791,7 @@ arm_linux_add_process (pid_t pid)
 {
   struct arm_linux_process_info *proc;
 
-  proc = xcalloc (1, sizeof (*proc));
+  proc = XCNEW (struct arm_linux_process_info);
   proc->pid = pid;
 
   proc->next = arm_linux_process_list;
This page took 0.028962 seconds and 4 git commands to generate.