Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix segfault in Branch.name#991

Merged
johnhaley81 merged 1 commit intomasternodegit/nodegit:masterfrom
fix-branch-namenodegit/nodegit:fix-branch-nameCopy head branch name to clipboard
Apr 9, 2016
Merged

Fix segfault in Branch.name#991
johnhaley81 merged 1 commit intomasternodegit/nodegit:masterfrom
fix-branch-namenodegit/nodegit:fix-branch-nameCopy head branch name to clipboard

Conversation

@johnhaley81
Copy link
Collaborator

The generated C++ code was freeing the out parameter because it was a string even though the string was of type const. Now we have a safeguard in place so we aren't freeing things that we shouldn't be in this case.

The generated C++ code was freeing the out parameter because it was a string even though the string was of type `const`. Now we have a safeguard in place so we aren't freeing things that we shouldn't be in this case.
@johnhaley81 johnhaley81 merged commit f67de63 into master Apr 9, 2016
@johnhaley81 johnhaley81 deleted the fix-branch-name branch April 9, 2016 00:46
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.