libgit2/libgit2 — pull request #2785 by jacquesg (2014-12-29 16:23:49+00:00)
Title: Coverity fixes

This fixes a few problems pointed out by the coverity scan including missing checks for OOM, not checking error codes, memory leaks etc.

This doesn't fix nearly all of the problems but does address lots of the low hanging fruit.