Fix the posix_memalign() changes in r196861 to actually return a NULL pointer

as intended.

PR:		standards/138307
This commit is contained in:
Jason Evans 2009-12-10 00:16:11 +00:00
parent ad61078f87
commit 2354bdcf94

View File

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