Closed sindemcos closed 5 years ago
That is the correct way to free it. I've fixed the bug with the memory leak.
I have the same issue in my python code, so how can I free memory in python code? I am using apriltags3 library.
I believe the issue should be fixed as of Sept 27. If you are still experiencing this issue with the most recent version of the code from the repo, then please post a stack trace/valgrind output for your issue.
okay, I got it, I have downloaded an older version of this code, after updating its work fine. Thank you.
Is the library user required to call matd_destroy()
on the pose members (as shown in the first post) after receiving and using the pose?
I got a memory leak using estimate_tag_pose() and i am wondering if i forgot to free something. What I tried after receiving the pose:
The valgrind output was:
Is it my bad or could there be a memory leak in the library? How should the pose be freed correctly? There is no destroy function like there is for a detection_t object.