libgit2 / pygit2

Python bindings for libgit2
https://www.pygit2.org/
Other
1.58k stars 382 forks source link

Fix Signature memory leak #1173

Closed jorio closed 1 year ago

jorio commented 1 year ago

encoding is strdup'd in build_signature regardless of whether the Signature has an owner.

So, Signature_dealloc must always free encoding.