Skip to content
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

Add destructor to fix memory leak #14

Merged
merged 1 commit into from Feb 2, 2016

Conversation

@mikepb
Copy link
Contributor

@mikepb mikepb commented Feb 2, 2016

I noticed that class Annoy did not define a destructor. This pull requests adds a static destructor to delete the ptr member.

eddelbuettel added a commit that referenced this pull request Feb 2, 2016
Add destructor to fix memory leak
@eddelbuettel eddelbuettel merged commit 4f18ff2 into eddelbuettel:master Feb 2, 2016
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.