[tor-commits] [tor/master] Coverity: fix memory leak on error in test function.