fixed mem leaks in RR steady state solver