Fix the posix_memalign() changes in r196861 to actually return a NULL pointer
as intended. PR: standards/138307
This commit is contained in:
parent
b57ea9bc60
commit
06dc67d8bb
@ -5340,6 +5340,7 @@ posix_memalign(void **memptr, size_t alignment, size_t size)
|
||||
size = 1;
|
||||
else {
|
||||
result = NULL;
|
||||
*memptr = NULL;
|
||||
ret = 0;
|
||||
goto RETURN;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user