Skip to content

Commit

Permalink
Merge pull request #1036 from smith-kyle/self-freeing-fix
Browse files Browse the repository at this point in the history
Memory management: Self freeing fix
  • Loading branch information
johnhaley81 committed May 26, 2016
2 parents a86dc6f + 7100d97 commit 092ab50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generate/templates/manual/src/nodegit_wrapper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ NodeGitWrapper<Traits>::NodeGitWrapper(typename Traits::cType *raw, bool selfFre
} else {
this->owner.Reset(owner);
this->raw = raw;
selfFreeing = false;
}
} else {
this->raw = raw;
Expand Down

0 comments on commit 092ab50

Please sign in to comment.