Remove some leaks.