-
-
Notifications
You must be signed in to change notification settings - Fork 202
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
Asan detects leak in BSpline::derive(). #177
Comments
Thank you for reporting this issue. I guess the leak comes from the c code ( |
You are right. The problem is that |
Ahh, I see. |
I'm currently implementing this. |
I (hopefully) fixed the issue in branch memory-177. Could you please check if it now works with asan? |
It Works! |
It looks like the assignment operators of |
@L3MON4D3 FYI There are now memory checks (using Valgrind) in branch |
BSpline::data() was removed from tinyspline api because of memory leak. See msteinbeck/tinyspline#177.
BSpline::data() was removed from tinyspline api because of memory leak. See msteinbeck/tinyspline#177.
Hi, first of all amazing work with tinyspline, it's been really helpful :D
I started compiling with asan recently, which detects a leak in
BSpline::derive()
:The leak can be avoided with
, but I'm not at all certain whether that is the correct fix.
The text was updated successfully, but these errors were encountered: