[tor-commits] [tor/master] Fix memory management for #22103 tests