Skip to content

Commit a8d9fea

Browse files
dturner-twgitster
authored andcommitted
refs: fix valgrind suppression file
Add all of the ways in which check_refname_format violates valgrind's expectations to the valgrind suppression file; remove an assumption about the call chain of check_refname_format from same. Signed-off-by: David Turner <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6d17dc1 commit a8d9fea

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

t/valgrind/default.supp

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,17 @@
5050
fun:copy_ref
5151
}
5252
{
53-
ignore-sse-check_refname_format
53+
ignore-sse-check_refname_format-addr
5454
Memcheck:Addr8
5555
fun:check_refname_format
56-
fun:cmd_check_ref_format
57-
fun:handle_builtin
58-
fun:main
56+
}
57+
{
58+
ignore-sse-check_refname_format-cond
59+
Memcheck:Cond
60+
fun:check_refname_format
61+
}
62+
{
63+
ignore-sse-check_refname_format-value
64+
Memcheck:Value8
65+
fun:check_refname_format
5966
}

0 commit comments

Comments
 (0)