This wouldn't free the contents of the vector, so we're back to leaking. You need to have the same `git_vector_foreach` here that you have in `local_connect`.