There is a plenty of situations where the vorticity $\vec{\omega} = \nabla \times \vec{u}$ is zero all over the system (i.e. potential flow) and yet the circulation $\Gamma$ is nonzero (e.g. irrotational vortex, potential flow around the Joukowski profile...). For such cases this formula is obviously incorrect:
$$ \oint_C \vec{u} \cdot \mathrm{d}\vec{r} = \int_S (\nabla \times \vec{u}) \cdot \mathrm{d}S $$
Why? Because the $S$ is not simply connected?