I was getting memory leaks with valgrind without it...