I'm having some Problems with a counterexample, showing that $L(D)$ is not a vector space.
Just imagine $D=-(Q)+2(\infty)$. Then $$L(D)=\{f\in K(C)^*: \mbox{div}(f)-(Q)+2(\infty)\geq 0\}\cup \{0\}$$ so take (in one dimension) $f=(X-P)\cdot(X-Q)$, thus $\mathrm{div}(f)= (P)+(Q)-2(\infty)\in L(D)$ and $$-f=-(X-P)\cdot(X-Q)\in L(D)$$ since $$\mathrm{div}(-f)= (P)+(Q)-2(\infty). $$ Now if I take $f+ -f=0$ I get $\mathrm{div}(0)=0$, so $f + -f$ is not in $L(D)$.
Where is my mistake???