replace XZALLOC with XCNEW
[deliverable/binutils-gdb.git] / gdb / dwarf2loc.c
index dd921ec0514bc8e0735380fc50d11e823e812c81..6185a6b4e2501c120e4305a0dfce70bf96608f98 100644 (file)
@@ -1414,7 +1414,7 @@ allocate_piece_closure (struct dwarf2_per_cu_data *per_cu,
                        int n_pieces, struct dwarf_expr_piece *pieces,
                        int addr_size)
 {
-  struct piece_closure *c = XZALLOC (struct piece_closure);
+  struct piece_closure *c = XCNEW (struct piece_closure);
   int i;
 
   c->refc = 1;
This page took 0.023779 seconds and 4 git commands to generate.