libgit2/pygit2 — pull request #353 by carlosmn (2014-03-26 11:38:56+00:00)
Title: Repository: don't jump to cleanup unecessarily

Until we have successfully borrowed the message, we have not used up any
resources, we can skip jumping to 'out' and we can return NULL
directly. This also avoid dereferencing an uninitialised 'tmessage'.