Did a valgrind test