Remove useless if-before-xfree tests.