Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

ianhattendorf
Copy link
Member

No description provided.

Copy link
Member

@implausible implausible left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also never free baton->file_path anywhere

if (!flag && nextCommit != NULL) {
git_commit_free(nextCommit);
if (firstMatchingParentIndex.first) {
git_commit_free(parentCommit);
Copy link
Member

@implausible implausible May 20, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These need to be freed at the same time we delete fileHistoryEvent or else we're leaking memory on non-matching merge commits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants