Another memory leak fixed