freeing ram and freeing shared recs

about freeing resources tst5 sometimes says correct others says wrong
for some unknown reason  and freeing ram waiting for testcases??