fix memory leak in cholmod#733
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #733 +/- ##
==========================================
- Coverage 84.38% 84.38% -0.01%
==========================================
Files 13 13
Lines 9372 9369 -3
==========================================
- Hits 7909 7906 -3
Misses 1463 1463 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Can this be tested? Does this need backporting (v1.13 for sure, but v1.12 & LTS)? |
|
I verified presence of some memory leak via I have not looked into the allocation path in SuiteSparse or valgrind. To be honest, I'm somewhat surprised that this allocation gets properly logged and accounted for, at all! |
|
Thanks a lot for the fix. I am sorry for introducing this bug two years ago. The basic method should be tested, but I am not sure whether all branches will be tested completely. This could be a explanation for
noticed in #547. I guess we should at least open an issue to check whether this works correctly with the fix from this PR, and consider adding this additional optimization in another PR. |
|
cc @rayegun |
|
Storing the workspace vectors in |
Fix bug identified on discourse.