libgit2/rugged — pull request #212 by arthurschreiber (2013-05-26 20:13:18+00:00)
Title: Use ref iterator

Switch to using a `git_reference_iterator` when iterating over references. Also fixes a memory leak when an exception is raised during the iteration.