Fix memory leak
Fix memory leak