In order to eliminate some false positives while testing leaks on Mac OS
-
Install Docker running
install_docker.sh
-
Copy all your files including the
main.c
into./to_test
-
Set the compilation rules into
compile_project.sh
-
Execute
valgrind.sh
Feel free to email me critics and ideas to improve functionalities