[tor-commits] [tor/release-0.3.1] Fix some memory errors in the recent coverity fixes.