Skip to content

Fixed memory leak that happened when calling apply#3

Open
PieroV wants to merge 1 commit intorjw57:masterfrom
PieroV:patch-1
Open

Fixed memory leak that happened when calling apply#3
PieroV wants to merge 1 commit intorjw57:masterfrom
PieroV:patch-1

Conversation

@PieroV
Copy link
Copy Markdown

@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