ENH: Valgrind memory leak free