From f74f309ec79fd5a5d54353a34f738c6704bd20ae Mon Sep 17 00:00:00 2001 From: Jeppe Odgaard Date: Wed, 22 Nov 2023 15:09:34 +0100 Subject: [PATCH] valgrind: Update `POSIX soc no cpu cleanup` suppression Add `possible` to match-leak-kinds to prevent false positives caused by POSIX soc no cpu cleanup. The leak can be reproduced by adding CONFIG_NETWORKING=y to tests/lib/cpp/libcxx/prj.conf and run twister: twister -p native_sim -s tests/lib/cpp/libcxx/cpp.libcxx.host --enable-valgrind Signed-off-by: Jeppe Odgaard --- scripts/valgrind.supp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/valgrind.supp b/scripts/valgrind.supp index b161e09fa0..330ec51fef 100644 --- a/scripts/valgrind.supp +++ b/scripts/valgrind.supp @@ -18,7 +18,7 @@ { POSIX soc no cpu cleanup Memcheck:Leak - match-leak-kinds: reachable + match-leak-kinds: reachable,possible ... fun:posix_boot_cpu ...