Skip to content

Fixed memory leak that happened when calling apply #3

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PieroV
Copy link

@PieroV PieroV commented May 21, 2019

Registration.apply caused a memory leak because Frame.create did not associate freenect2_frame_dispose to the garbage collector.

A simple line fixes the problem. I tested this on another machine, but I do not have the Kinect here, so I cannot test the file right now, but should work.

Registration.apply caused a memory leak because Frame.create did not associate freenect2_frame_dispose to the garbage collector.
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