My manual valgrind test:
make -f makefile.unix clean
make -f makefile.unix CFLAGS="-g -DUSE_LTM -DLTM_DESC -I../libtommath" EXTRALIBS="../libtommath/libtommath.a" all
valgrind --error-exitcode=666 --leak-check=full --show-leak-kinds=all --errors-for-leak-kinds=all --track-fds=yes ./test
Good news: on current release/1.18.0 valgrind does not report any issues.
The down side of adding this to Travis-CI is the longer time required for running ./test.