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
/
registry.c
diff --git
a/gdb/registry.c
b/gdb/registry.c
index ed614b9ba6458f6058c262211ce0cc9a6e52d9f3..2fd60335e88d1adb99efd5f109666078b26e809b 100644
(file)
--- a/
gdb/registry.c
+++ b/
gdb/registry.c
@@
-51,7
+51,7
@@
registry_alloc_data (struct registry_data_registry *registry,
{
gdb_assert (fields->data == NULL);
fields->num_data = registry->num_registrations;
- fields->data = XC
ALLOC (fields->num_data, void *
);
+ fields->data = XC
NEWVEC (void *, fields->num_data
);
}
void
This page took
0.034288 seconds
and
4
git commands to generate.