Skip to content

Make TestApplyDiffAddFile() explicitly .Free() stuff #661

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

lhchavez
Copy link
Contributor

This change adds explicit .Free() calls in TestApplyDiffAddFile().
It was discovered in #657 that some objects were not explicitly being
freed, so this fixes that!

This change adds explicit `.Free()` calls in `TestApplyDiffAddFile()`.
It was discovered in libgit2#657 that some objects were not explicitly being
freed, so this fixes that!
@lhchavez lhchavez merged commit 3a4204b into libgit2:master Oct 22, 2020
@lhchavez lhchavez deleted the free-stuff-in-test-apply-diff-add-file branch October 22, 2020 13:30
github-actions bot pushed a commit that referenced this pull request Oct 22, 2020
This change adds explicit `.Free()` calls in `TestApplyDiffAddFile()`.
It was discovered in #657 that some objects were not explicitly being
freed, so this fixes that!

(cherry picked from commit 3a4204b)
lhchavez added a commit that referenced this pull request Oct 22, 2020
This change adds explicit `.Free()` calls in `TestApplyDiffAddFile()`.
It was discovered in #657 that some objects were not explicitly being
freed, so this fixes that!

(cherry picked from commit 3a4204b)

Co-authored-by: lhchavez <lhchavez@lhchavez.com>
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.

1 participant