sudo apt install valgrind # Ubuntu, Debian, etc. sudo yum install valgrind # RHEL, CentOS, Fedora, etc. sudo pacman -Syu valgrind # Arch, Manjaro, Garuda, etc
https://stackoverflow.com/questions/5134891/how-do-i-use-valgrind-to-find-memory-leaks
sudo apt install valgrind # Ubuntu, Debian, etc. sudo yum install valgrind # RHEL, CentOS, Fedora, etc. sudo pacman -Syu valgrind # Arch, Manjaro, Garuda, etc
https://stackoverflow.com/questions/5134891/how-do-i-use-valgrind-to-find-memory-leaks