Suppose that we have an smooth affine curve $C$ over an algebraically closed field of finite characteristic $p$, defined by $f(x,y) = 0$, and let $D$ be the smooth projective curve defined by the homogenisation of $f$; $F(X,Y,Z) = 0$.
I know that there is an exact sequence $$ \mathbb{Z}^{|S|} \rightarrow \renewcommand{\Pic}{\operatorname{Pic}} \Pic(D) \rightarrow \Pic(C) \rightarrow 0, $$ where $S$ is the finite set of points $D \setminus C$.
I am wondering if I know that the $p$-torsion of $\Pic(D)$ vanishes, can I conclude immediately that $\Pic(C)[p] = 0$ too?
If not, are there standard techniques for establishing this?
Thanks.