It looks like you didn't use the product rule here. The relevant term in the formula for curl is
$$\frac{1}{r}\frac{\partial (rf)}{\partial r}$$
which yields
$$\frac{f}{r}+\frac{\partial f}{\partial r}$$
according to the product rule. It is easy to show that this vanishes for the given $f$.
It looks like you didn't use the product rule here. The relevant term in the formula for curl is $$\frac{1}{r}\frac{\partial (rf)}{\partial r}$$ which yields $$\frac{f}{r}+\frac{\partial f}{\partial r}$$ according to the product rule. It is easy to show that this vanishes for the given $f$.