Skip to content

fix several memory leaks#134

Merged
pelesh merged 8 commits into
developfrom
fix-memory-leaks
Jun 11, 2025
Merged

fix several memory leaks#134
pelesh merged 8 commits into
developfrom
fix-memory-leaks

Conversation

@superwhiskers

Copy link
Copy Markdown
Collaborator

this fixes several memory leaks i found in the progress of reviewing an unrelated pull request. my bandage solution to fixing the leaked memory caused by repeated calls to initializeBackwardSimulation may not be the best way of fixing that problem, so alternative solutions are welcome

@superwhiskers superwhiskers requested a review from pelesh June 10, 2025 15:31

@pelesh pelesh left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this. A couple of minor changes requested.

Comment thread src/Solver/Dynamic/Ida.cpp Outdated
Comment thread src/Solver/Dynamic/Ida.hpp Outdated
@pelesh pelesh requested a review from Steven-Roberts June 10, 2025 17:32
@pelesh pelesh added the bug Something isn't working label Jun 10, 2025
Comment thread examples/Experimental/GenInfiniteBus/GenInfiniteBus.cpp Outdated
@pelesh pelesh merged commit d5e6af2 into develop Jun 11, 2025
4 checks passed
@superwhiskers superwhiskers deleted the fix-memory-leaks branch June 11, 2025 17:49
WiktoriaZielinskaORNL pushed a commit that referenced this pull request Jul 23, 2025
---------

Co-authored-by: superwhiskers <superwhiskers@users.noreply.github.com>
Co-authored-by: pelesh <peless@ornl.gov>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants