Avoid a memory leak