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
/
macrocmd.c
diff --git
a/gdb/macrocmd.c
b/gdb/macrocmd.c
index 3db1239f2419defd6c19af8f01d738da15bf30ad..2eb9dffd4fc46637a426576f4778302760ba12eb 100644
(file)
--- a/
gdb/macrocmd.c
+++ b/
gdb/macrocmd.c
@@
-387,7
+387,7
@@
macro_define_command (char *exp, int from_tty)
{
/* Function-like macro. */
int alloced = 5;
- char **argv =
(char **) xmalloc (alloced * sizeof (char *)
);
+ char **argv =
XNEWVEC (char *, alloced
);
new_macro.kind = macro_function_like;
new_macro.argc = 0;
This page took
0.024068 seconds
and
4
git commands to generate.