Do leak checks when valgrinding the player.
authorCarl Hetherington <cth@carlh.net>
Sun, 13 Apr 2025 19:06:41 +0000 (21:06 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 13 Apr 2025 19:06:41 +0000 (21:06 +0200)
run/dcpomatic_player

index fb740e34207f62bd99feaf18a650b52732d23fbe..7d9ab9ff34dc752886c7a8134ec0702507f07041 100755 (executable)
@@ -20,7 +20,7 @@ if [ "$1" == "--debug" ]; then
     gdb --args build/src/tools/dcpomatic2_player $*
 elif [ "$1" == "--valgrind" ]; then
     shift
-    valgrind --tool="memcheck" --suppressions=suppressions --track-fds=yes $binary $*
+    valgrind --tool="memcheck" --suppressions=suppressions --track-fds=yes --leak-check=full --show-reachable=yes $binary $*
 elif [ "$1" == "--callgrind" ]; then
     shift
     valgrind --tool="callgrind" $binary $*