Back out previous commit after discussing it with Dmitrij Tejblum.

This commit is contained in:
des 1999-07-07 21:01:20 +00:00
parent 8987e649ca
commit dfaa48d6e0

View File

@ -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);
}