Fixed memory leak in students report