Fix malloc check in gnustep-tests.