Don't lose our elements when calling git_vector_set()
Merge pull request #2250 from jacquesg/vector-leak

Don't lose our elements when calling git_vector_set()