From 02fc30e29af7bf6b96f6f656dfc1b63b8ea921ba Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Wed, 16 Jul 2008 20:36:21 +0000 Subject: [PATCH] add wrapper for invoking transmission-daemon in valgrind --- daemon/my-valgrind.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 daemon/my-valgrind.sh diff --git a/daemon/my-valgrind.sh b/daemon/my-valgrind.sh new file mode 100755 index 000000000..c248fbd96 --- /dev/null +++ b/daemon/my-valgrind.sh @@ -0,0 +1,5 @@ +#/bin/sh +export G_SLICE=always-malloc +export G_DEBUG=gc-friendly +export GLIBCXX_FORCE_NEW=1 +valgrind --tool=memcheck --leak-check=full --leak-resolution=high --num-callers=64 --log-file=x-valgrind --show-reachable=yes ./transmission-daemon -f