fix memory leak
Merge pull request #656 from mogeneration/pr/memory_leak

fix memory leak