mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Fix(?) an apparent merge glitch. Half of xrealloc() was missing..
This commit is contained in:
parent
43a16e4327
commit
8dc551cdd6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42697
@ -1199,6 +1199,13 @@ xrealloc (pointer, nbytes)
|
||||
else
|
||||
temp = (void *)realloc (pointer, nbytes);
|
||||
|
||||
if (nbytes && temp == (void *)NULL)
|
||||
memory_error ("xrealloc", nbytes);
|
||||
|
||||
return (temp);
|
||||
}
|
||||
|
||||
|
||||
/* If EXIT_VALUE is zero, print the full usage message to stdout.
|
||||
Otherwise, just say to use --help for more info.
|
||||
Then exit with EXIT_VALUE. */
|
||||
|
Loading…
Reference in New Issue
Block a user