Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Nov 16, 2023
1 parent 844d6f0 commit 51cb46b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cfg/gnu.c
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ void memleak_asprintf4(char** p) {
asprintf(p, "%s", "test");
}

void memleak_asprintf4(char* p) {
void memleak_asprintf5(char* p) {
asprintf(&p, "%s", "test");
// cppcheck-suppress memleak
}
Expand Down

0 comments on commit 51cb46b

Please sign in to comment.