[tor-commits] [tor/master] Fix a use-after-free error.