FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix memory leaks by pks-t · Pull Request #4180 · libgit2/libgit2 · GitHub

Repository navigation

Fix memory leaks - #4180

Merged
pks-t merged 2 commits into
libgit2:masterfrom
pks-t:pks/pass-blame-fix
Mar 28, 2017
Merged

pks-t merged 2 commits into
libgit2:masterfrom
pks-t:pks/pass-blame-fix

Conversation

pks-t commented Mar 24, 2017

Copy link
Copy Markdown
Member

The recent addition of an error code to pass_whole_blame in ff8d2eb
(blame_git: check return value of object lookup, 2017-03-20) introduced
a spurious goto. Remove it.

Just noticed a few thousands of new memory leaks in the CI. The error is trivial and kind of embarassing - I'm surprised the compiler didn't throw any warning for unreachable code.

The recent addition of an error code to `pass_whole_blame` in ff8d2eb
(blame_git: check return value of object lookup, 2017-03-20) introduced
a spurious goto. Remove it.
pks-t changed the title blame_git: remove spuriuous goto Fix memory leaks Mar 24, 2017

pks-t commented Mar 24, 2017

Copy link
Copy Markdown
Member Author

Also added another commit fixing a new memory leak in git_worktree_open_from_repository.

pks-t merged commit a25df00 into libgit2:master Mar 28, 2017
pks-t deleted the pks/pass-blame-fix branch March 28, 2017 06:41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL