projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use XNEW and related macros more
[deliverable/binutils-gdb.git]
/
gas
/
config
/
tc-mmix.c
diff --git
a/gas/config/tc-mmix.c
b/gas/config/tc-mmix.c
index d6992b480878fb683e3524e6eb9511ede71f725b..d3d971de8ee663dbca6cb8eef96d4fc58cb4c4b2 100644
(file)
--- a/
gas/config/tc-mmix.c
+++ b/
gas/config/tc-mmix.c
@@
-3775,7
+3775,7
@@
mmix_frob_file (void)
if (gregs == NULL)
{
- gregs =
xmalloc (sizeof (*gregs)
);
+ gregs =
XNEW (struct mmix_symbol_gregs
);
gregs->n_gregs = 0;
symbol_set_tc (sym, &gregs);
all_greg_symbols[n_greg_symbols++] = gregs;
This page took
0.025631 seconds
and
4
git commands to generate.