[python] Address memory leak in get_enumeration_values#4065
Closed
[python] Address memory leak in get_enumeration_values#4065
get_enumeration_values#4065Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4065 +/- ##
==========================================
+ Coverage 88.97% 89.26% +0.29%
==========================================
Files 59 59
Lines 7073 7073
==========================================
+ Hits 6293 6314 +21
+ Misses 780 759 -21
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
get_enumeration_values [WIP]get_enumeration_values
Member
|
It looks like there are other leaks in this call chain. To validate the fix, I ran the following:
Which produced the following leak inside get_enumeration_values |
Member
|
A similar valgrind on |
Contributor
Author
|
Closing in favor of #4066 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue and/or context: https://linear.app/tiledb/issue/SOMA-130/c-memory-leak-in-get-enumeration-values
Changes:
Notes for Reviewer:
I ran this from @bkmartinjr on SOMA-130:
cat 130.py