mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 14:48:57 +00:00
Back out previous commit after discussing it with Dmitrij Tejblum.
This commit is contained in:
parent
c58b5cffa1
commit
65b97b034e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=48672
@ -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