[tor-commits] [tor/master] Fix a bunch of memory leaks in the unit tests. Found with valgrind