Fixed memory leak in iris test