farm: fix memory leak of slice_read()

This is yet another leaker of slice_read.

Signed-off-by: Liu Yuan <namei.unix@gmail.com>