projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
replace XCALLOC with XCNEWVEC or XCNEW
[deliverable/binutils-gdb.git]
/
gdb
/
opencl-lang.c
diff --git
a/gdb/opencl-lang.c
b/gdb/opencl-lang.c
index 4bcaf7ecaecf8cf056f98fc94c7b2e11b017eb2c..2dd76fac36eeb4694e4611d3ba62595f99bf758d 100644
(file)
--- a/
gdb/opencl-lang.c
+++ b/
gdb/opencl-lang.c
@@
-160,7
+160,7
@@
allocate_lval_closure (int *indices, int n, struct value *val)
c->refc = 1;
c->n = n;
- c->indices = XC
ALLOC (n, int
);
+ c->indices = XC
NEWVEC (int, n
);
memcpy (c->indices, indices, n * sizeof (int));
value_incref (val); /* Increment the reference counter of the value. */
c->val = val;
This page took
0.023276 seconds
and
4
git commands to generate.