replace XZALLOC with XCNEW
[deliverable/binutils-gdb.git] / gdb / opencl-lang.c
index 8dbd4cea255a1b4cdac92eb8bf656875ffddcc04..4bcaf7ecaecf8cf056f98fc94c7b2e11b017eb2c 100644 (file)
@@ -156,7 +156,7 @@ struct lval_closure
 static struct lval_closure *
 allocate_lval_closure (int *indices, int n, struct value *val)
 {
-  struct lval_closure *c = XZALLOC (struct lval_closure);
+  struct lval_closure *c = XCNEW (struct lval_closure);
 
   c->refc = 1;
   c->n = n;
This page took 0.027594 seconds and 4 git commands to generate.