weak all the things
++sanity
STYLE
Merge pull request #173 from libgit2/weak-things

Fix memory management