this test is no longer necessary now that malloc is no longer used for incoming strings