diff options
Diffstat (limited to 'script/leaks.sh')
-rwxr-xr-x | script/leaks.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/script/leaks.sh b/script/leaks.sh new file mode 100755 index 0000000..efeead5 --- /dev/null +++ b/script/leaks.sh @@ -0,0 +1,6 @@ +#!/bin/sh +export MallocStackLogging=1 +export MallocScribble=1 +export MallocLogFile=/dev/null +export CLAR_AT_EXIT="leaks -quiet \$PPID" +exec "$@" |