vf_fps: fix a memleak on malloc failure.