|
@@ -363,14 +363,14 @@ void *
|
|
xmalloc(size_t len) {
|
|
xmalloc(size_t len) {
|
|
void *p = malloc(len);
|
|
void *p = malloc(len);
|
|
if(!p)
|
|
if(!p)
|
|
- die("Out of memory");
|
|
|
|
|
|
+ die("Out of memory\n");
|
|
return p;
|
|
return p;
|
|
}
|
|
}
|
|
|
|
|
|
void *
|
|
void *
|
|
xrealloc(void *p, size_t len) {
|
|
xrealloc(void *p, size_t len) {
|
|
if((p = realloc(p, len)) == NULL)
|
|
if((p = realloc(p, len)) == NULL)
|
|
- die("Out of memory");
|
|
|
|
|
|
+ die("Out of memory\n");
|
|
return p;
|
|
return p;
|
|
}
|
|
}
|
|
|
|
|