libgit2/libgit2 — pull request #1784 by evhan (2013-08-15 04:47:13+00:00)
Title: revparse: Free left side of invalid range revspecs

This fixes a small memory leak in git_revparse where early returns on
errors from git_revparse_single cause a free() on the (reallocated) left
side of the revspec to be skipped.