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
/
minsyms.c
diff --git
a/gdb/minsyms.c
b/gdb/minsyms.c
index ee9575c8fa527a6daf41e09563feecc04a4260db..c7ae981605c4662dfc1138bc0bd0eab31f986f1b 100644
(file)
--- a/
gdb/minsyms.c
+++ b/
gdb/minsyms.c
@@
-935,7
+935,7
@@
prim_record_minimal_symbol_full (const char *name, int name_len, int copy_name,
if (msym_bunch_index == BUNCH_SIZE)
{
- new = XC
ALLOC (1,
struct msym_bunch);
+ new = XC
NEW (
struct msym_bunch);
msym_bunch_index = 0;
new->next = msym_bunch;
msym_bunch = new;
This page took
0.025262 seconds
and
4
git commands to generate.