Suppose we have a complete, non-singular vector field on $M$. Take an integral curve $\phi: \mathbb{R} \rightarrow M$. If it is periodic than $\phi(\mathbb{R})$ is compact as an image of a compact set. Suppose $\phi(\mathbb{R})$ is compact, I have a problem with showing it is periodic, which I suppose is trivial and that even there is no arbitrary, continuous bijection from $\mathbb{R}$ to a compact space.
EDIT: Since it may not be so trivial as I expected let me be very precise. M is compact smooth manifold, we have a smooth (necessarily complete since $M$ is compact) non-singular vector field on it. Is it true that an integral curve compact in induced topology must be periodic?