Memory leak correction
Projet clean for memory leak and death code