Had: correct code
Have: memory leakage