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-nds32.c
diff --git
a/gas/config/tc-nds32.c
b/gas/config/tc-nds32.c
index 897561d7e0f19f2f45a66527f73703719eb59ed5..4e6561602174fbea60df3590cf6b92eddad80f09 100644
(file)
--- a/
gas/config/tc-nds32.c
+++ b/
gas/config/tc-nds32.c
@@
-4123,7
+4123,7
@@
nds32_elf_save_pseudo_pattern (fixS* fixP, struct nds32_opcode *opcode,
fragS *fragP)
{
if (!reloc_ptr)
- reloc_ptr =
malloc (sizeof (struct nds32_relocs_pattern)
);
+ reloc_ptr =
XNEW (struct nds32_relocs_pattern
);
reloc_ptr->seg = now_seg;
reloc_ptr->sym = sym;
reloc_ptr->frag = fragP;
This page took
0.025225 seconds
and
4
git commands to generate.