Corrected memory leaks

No match.