Skip to content

Commit

Permalink
Update: added memory leak check tools - valgrind
Browse files Browse the repository at this point in the history
i0gan committed Oct 28, 2024
1 parent 5d5dc4f commit 6dd20b6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions script/squick.sh
Original file line number Diff line number Diff line change
@@ -16,6 +16,12 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`pwd`/lib
# for macos
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:`pwd`

echo $SQUICK_MEMORY_CHECK
if [ "1" == "$SQUICK_MEMORY_CHECK" ];then
valgrind --leak-check=full ./squick $@
exit
fi

echo $SQUICK_ARGS
if [ -z $SQUICK_ARGS ];then
./squick $@

0 comments on commit 6dd20b6

Please sign in to comment.