Add a missing ve_free to error path.

Just a small trivial fix.