libgit2/pygit2 — pull request #84 by hanwen (2012-04-30 17:38:56+00:00)
Title: use after free

Running

valgrind --trace-children=yes python setup.py test

spews a litany of error messages. Most are fixed by this change. I'm looking into the other one.