projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead of
[oweals/busybox.git]
/
loadkmap.c
diff --git
a/loadkmap.c
b/loadkmap.c
index 488585f9c816bf99c12223a7850f81b015b70e32..2321a1ededc67c80d4ce089bd799a6078f8f62e6 100644
(file)
--- a/
loadkmap.c
+++ b/
loadkmap.c
@@
-67,11
+67,7
@@
int loadkmap_main(int argc, char **argv)
exit(FALSE);
}
- ibuff = (u_short *) malloc(ibuffsz);
- if (!ibuff) {
- errorMsg("Out of memory.\n");
- exit(FALSE);
- }
+ ibuff = (u_short *) xmalloc(ibuffsz);
for (i = 0; i < MAX_NR_KEYMAPS; i++) {
if (flags[i] == 1) {