(*) Fix memory leaks.