Syriansoft interview question

Memory management and memory leaks