free and strcmp