Fix a potential memory leak.
Fix a potential memory leak.

saraid/rugged,libgit2/rugged,libgit2/rugged,Acidburn0zzz/rugged,tpickett66/rugged,tpickett66/rugged,Acidburn0zzz/rugged,saraid/rugged,saraid/rugged,tpickett66/rugged,Acidburn0zzz/rugged,libgit2/rugged