[tor-commits] [tor/master] Fix memory leak in unittest helper function.