libgit2/libgit2 — pull request #954 by arrbee (2012-09-26 22:59:06+00:00)
Title: New refspec code leaks memory

This fixes a memory leak in the tests that I found in valgrind along with adding a new API so that other users can also free the memory of the refspec object.

I'm doing this as a pull request because I'm wondering if I'm just missing something about how users are supposed to handle `git_refspec` objects and thought maybe @carlosmn or someone would comment...