• Show log

    Commit

  • Hash : 5963292f
    Author : Patrick Steinhardt
    Date : 2018-01-12T13:03:19

    refs: document need to free refs in foreach-callback References passed to the callback function of `git_reference_foreach` are expected to be owned by the callback. As such, they are never being freed by `git_reference_foreach`, but will have to be freed by the caller. This small detail is never mentioned in the function's documentation, though, making it easy to get wrong. Document this to make it discoverable.