Back out previous commit after discussing it with Dmitrij Tejblum.

This commit is contained in:
Dag-Erling Smørgrav 1999-07-07 21:01:20 +00:00
parent c58b5cffa1
commit 65b97b034e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=48672

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