Closed hdante closed 2 months ago
thanks @hdante it seems very reasonable.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 66.28%. Comparing base (
23bea25
) to head (7f420cb
). Report is 6 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
You just need to avoid going to next line for pre-commit to be happy (strange that it chokes on that)
@hdante can you clear this, and perhaps add a test case that clear the 3 vector on destruction?
I made the changes to get precommit hooks passing. I was partly curious to see how that would work with a forked repository.
Thank you everyone,
Change Description
Hello, this fixes leaking SED instances if they still exist when calling the
PhotoZ
class destructor (this is the case when running lephare with pz-rail-lephare). The relevant leaks, shown by the address sanitizer:Solution Description
Completed the destructor with the remaining de-allocations.
Code Quality
Project-Specific Pull Request Checklists
Bug Fix Checklist
New Feature Checklist
Documentation Change Checklist
Build/CI Change Checklist
Other Change Checklist