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