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 some xmalloc-family functions with XNEW-family ones
[deliverable/binutils-gdb.git]
/
gdb
/
nto-procfs.c
diff --git
a/gdb/nto-procfs.c
b/gdb/nto-procfs.c
index b7727628689c6085295488a7562496a7a26189a7..2d1c49a061c94e7fc16e332568af017eb99d32f6 100644
(file)
--- a/
gdb/nto-procfs.c
+++ b/
gdb/nto-procfs.c
@@
-486,7
+486,7
@@
procfs_meminfo (char *args, int from_tty)
return;
}
- mapinfos =
xmalloc (num * sizeof (procfs_mapinfo)
);
+ mapinfos =
XNEWVEC (procfs_mapping, num
);
num_mapinfos = num;
mapinfo_p = mapinfos;
This page took
0.024643 seconds
and
4
git commands to generate.