projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gdb/
[binutils-gdb.git]
/
libiberty
/
sort.c
diff --git
a/libiberty/sort.c
b/libiberty/sort.c
index a4fffefa3495536eecd239544ee7289c507fe7d7..3738dd733e5863502cbb3eef1ea677ca632952d6 100644
(file)
--- a/
libiberty/sort.c
+++ b/
libiberty/sort.c
@@
-155,8
+155,8
@@
int main (int argc, char **argv)
else
k = 10;
- pointers =
xmalloc (k * sizeof (void *)
);
- work =
xmalloc (k * sizeof (void *)
);
+ pointers =
XNEWVEC (void*, k
);
+ work =
XNEWVEC (void*, k
);
for (i = 0; i < k; ++i)
{