Stop leaking memory in Branch.each and Branch.each_name.
Stop leaking memory in Repo.each_note.
Don't leak memory in Repository#each_id.
Don't leak memory in Remote#update_tips!
Don't leak memory in Remote#connect.
Don't leak memory in Remote#ls.
Introduce a common payload struct.
Merge pull request #229 from arthurschreiber/fix_callback_leaks

Fix callback leaks