]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Linux musl: one more iteration for aligned_alloc, assert in wrong place
authorPaul Floyd <pjfloyd@wanadoo.fr>
Sun, 5 Mar 2023 15:49:12 +0000 (16:49 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Sun, 5 Mar 2023 15:49:12 +0000 (16:49 +0100)
memcheck/tests/linux/aligned_alloc.c

index 0cffe085b334e6ce6adce906b477998652a69af9..6585580d8b45ebb2b4182056d850f46fd399bd6f 100644 (file)
@@ -35,9 +35,9 @@ int main(void)
       p = NULL;
       errno = ENOMEM;
    }
-#endif
    assert(p == NULL && errno == ENOMEM);
 #endif
+#endif
 }