EVO-melroy-winegui/scripts/valgrind.sh
Melroy van den Berg 0c4aefaed8
Include valgrind
2022-05-29 17:11:44 +02:00

10 lines
346 B
Bash
Executable file

#!/usr/bin/env bash
# By: Melroy van den Berg
# Description: Used for memory leak analysis,
# be-aware that you will get a lot of false positives messages due to GTK/Glib
cd ./build/bin
G_DEBUG=gc-friendly G_SLICE=always-malloc valgrind \
--suppressions=/usr/share/glib-2.0/valgrind/glib.supp \
--leak-check=full --track-origins=yes \
./winegui