Skip to content

Commit 150a980

Browse files
committed
Fix the unknown option in valgrind
Add memcheck in front of show-leak-kinds While using massif in valgrind, like below ``` valgrind --tool=massif ./qtest ``` It would return `Unknown option: --show-leak-kinds=all` In fact, the option `show-leak-kinds` should be called in `memcheck` Just like `memcheck:leak-check=full`
1 parent 7dc8981 commit 150a980

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.valgrindrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
--quiet
22
--memcheck:leak-check=full
3-
--show-leak-kinds=all
3+
--memcheck:show-leak-kinds=all
44
--error-exitcode=1

0 commit comments

Comments
 (0)