HomeFreeBSD

Fix a use-after-free in an error case.