Testing memory leak fix