Back out previous commit after discussing it with Dmitrij Tejblum.
This commit is contained in:
parent
8987e649ca
commit
dfaa48d6e0
@ -1081,8 +1081,6 @@ malloc(size_t size)
|
||||
THREAD_UNLOCK();
|
||||
if (malloc_xmalloc && !r)
|
||||
wrterror("out of memory.\n");
|
||||
if (!r)
|
||||
errno = ENOMEM;
|
||||
return (r);
|
||||
}
|
||||
|
||||
@ -1135,8 +1133,6 @@ realloc(void *ptr, size_t size)
|
||||
THREAD_UNLOCK();
|
||||
if (malloc_xmalloc && !r)
|
||||
wrterror("out of memory.\n");
|
||||
if (!r)
|
||||
errno = ENOMEM;
|
||||
return (r);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user