Fix memory leak caused by identity when default value is inplace#1284
Fix memory leak caused by identity when default value is inplace#1284bdraco merged 14 commits intoaio-libs:masterfrom
Conversation
CodSpeed Performance ReportMerging this PR will not alter performanceComparing Summary
|
bdraco
left a comment
There was a problem hiding this comment.
Fix looks correct. Note there are still other review comments
|
Thanks @Vizonex |
|
I'll see if I can get the CI unblocked |
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
@rodrigobnogueira Feel free to do so ^^ I'm sure you can figure out how to fork my fork add in the test and then send the pull request to my end. It will same me a bit of time. |
…idict into pop-memory-leak-fix
for more information, see https://pre-commit.ci
|
@rodrigobnogueira Feel free to let me know if the test should use bigger numbers or something more intense. I kept everything rather minimal because these tests are on a timer if I remember correctly. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1284 +/- ##
=======================================
Coverage 99.85% 99.85%
=======================================
Files 26 26
Lines 3507 3513 +6
Branches 252 253 +1
=======================================
+ Hits 3502 3508 +6
Misses 3 3
Partials 2 2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
I'll merge and do a release on Sunday or Monday if there are no other comments before than |
What do these changes do?
This was reported a while ago without a reproducer to use until @rodrigobnogueira provided me some very detailed information about where the problem was and how to fix it. So I went ahead and added in something to ensure that the identity value is properly handled if or when the user has provided a default value to use.
Are there changes in behavior for the user?
A Slow memory leak should be patched now.
Related issue number
fixes #1273
Checklist