Skip to content

Commit 36f78b5

Browse files
henrikbrixandersenkartben
authored andcommitted
scripts: valgrind: suppress missing clean-up in nct_new_thread()
Suppress memory leaks detected by valgrind originating from nct_new_thread(), part of the native_sim CPU thread emulation. This covers calls to posix_new_thread() as well, since this function simply calls nct_new_thread (but may be optimized out by the compiler). Signed-off-by: Henrik Brix Andersen <[email protected]>
1 parent 867676c commit 36f78b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/valgrind.supp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
Memcheck:Leak
1313
match-leak-kinds: reachable,possible
1414
...
15-
fun:posix_new_thread
15+
fun:nct_new_thread
16+
...
1617
fun:arch_new_thread
1718
}
1819
{

0 commit comments

Comments
 (0)