This is leaked if the if below  doesn't enter the else-case.