memory leak repair

gauss