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