-
Notifications
You must be signed in to change notification settings - Fork 181
JP-4102: Fix Potential Memory Leak and Remove Unused Code in Cube Build #9778
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
JP-4102: Fix Potential Memory Leak and Remove Unused Code in Cube Build #9778
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9778 +/- ##
==========================================
+ Coverage 82.57% 82.59% +0.01%
==========================================
Files 366 366
Lines 37292 37292
==========================================
+ Hits 30794 30801 +7
+ Misses 6498 6491 -7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
pllim
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
jemorrison
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Good catch on that memory leak.
|
I think we should merge this. Thanks! |
melanieclarke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, on the strength of Jane's review and the passing tests. Thanks for the clean up!
Resolves JP-4102
This PR addresses potential memory leaks. Array allocation wasn't being validated and wasn't being freed upon error.
Additionally, this PR removed unused code. A block of code performed computation not used anywhere.
Regression test: https://github.com/spacetelescope/RegressionTests/actions/runs/17265653993
Tasks
Build 12.0(use the latest build if not sure)no-changelog-entry-needed)changes/:echo "changed something" > changes/<PR#>.<changetype>.rst(see changelog readme for instructions)docs/pageokify_regteststo update the truth files