Files
libgit2/script/leaks.sh
2025-12-11 18:11:50 +01:00

9 lines
318 B
Bash
Executable File

#!/bin/sh
export MallocStackLogging=1
export MallocScribble=1
export MallocLogFile=/dev/null
# Exclude known Apple Security framework leak in CryptKit::FEEKeyInfoProvider
# which occurs during SSL/TLS handshakes and is not in libgit2's control
export CLAR_AT_EXIT="leaks -quiet -exclude=SSLHandshake \$PPID"
exec "$@"