fix leak, add valgrind wrapper script for my own convience