Skip to content

Duplicate git_error struct before passing it on - #105

Merged
nkallen merged 2 commits into
nodegit:masterfrom
papandreou:duplicateGitError
Oct 9, 2013
Merged

Duplicate git_error struct before passing it on#105
nkallen merged 2 commits into
nodegit:masterfrom
papandreou:duplicateGitError

Conversation

@papandreou

Copy link
Copy Markdown
Contributor

See #104.

@nkallen
nkallen merged commit 29276d5 into nodegit:master Oct 9, 2013
@nkallen

nkallen commented Oct 9, 2013

Copy link
Copy Markdown
Contributor

I added a check for null before the dup, and a free() afterwards. 7822fac Actually I think this fixed your problem. Please confirm?

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