Fixed another memory leak