diff options
Diffstat (limited to 'gdb/registry.c')
-rw-r--r-- | gdb/registry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/registry.c b/gdb/registry.c index ed614b9..2fd6033 100644 --- 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 = XCALLOC (fields->num_data, void *); + fields->data = XCNEWVEC (void *, fields->num_data); } void |