Repair fine generator memory leak