Correction memory leak