mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Fix the posix_memalign() changes in r196861 to actually return a NULL pointer
as intended. PR: standards/138307
This commit is contained in:
parent
ad61078f87
commit
2354bdcf94
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Reference in a new issue