free children of a block which will never get executed
It's "elsif", not "elseif"