[tor-commits] [tor/maint-0.4.0] test/shared-random: use sr_state_free_all() rather than sr_state_free()