|
From: Paul F. <pa...@so...> - 2023-03-05 15:49:57
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=b07d06888720187221660c6b5d54a20f7fcc3112 commit b07d06888720187221660c6b5d54a20f7fcc3112 Author: Paul Floyd <pj...@wa...> Date: Sun Mar 5 16:49:12 2023 +0100 Linux musl: one more iteration for aligned_alloc, assert in wrong place Diff: --- memcheck/tests/linux/aligned_alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memcheck/tests/linux/aligned_alloc.c b/memcheck/tests/linux/aligned_alloc.c index 0cffe085b3..6585580d8b 100644 --- a/memcheck/tests/linux/aligned_alloc.c +++ b/memcheck/tests/linux/aligned_alloc.c @@ -35,9 +35,9 @@ int main(void) p = NULL; errno = ENOMEM; } -#endif assert(p == NULL && errno == ENOMEM); #endif +#endif } |