-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Fix more leaks detected by ASAN #10219
Conversation
This commit fixes a bunch of missing free() calls in a10d50f Signed-off-by: João Carlos Mendes Luís <jonny@jonny.eng.br>
@behlendorf could you please take a look at those test failures? I thought these changes were extremely simple, and the most intriguing is that only Ubuntu 18.04 failed. |
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. I agree, the failures look unrelated. We do have a couple false positives which can occur, let's see if we see these same failures again after updating this PR for the minor style issue.
388d809
to
e4dbd22
Compare
Noted by @behlendorf Signed-off-by: João Carlos Mendes Luís <jonny@jonny.eng.br>
e4dbd22
to
d651319
Compare
Good addition that STYLE check, BTW! |
Codecov Report
@@ Coverage Diff @@
## master #10219 +/- ##
==========================================
+ Coverage 79.38% 79.55% +0.17%
==========================================
Files 388 388
Lines 123392 123396 +4
==========================================
+ Hits 97953 98171 +218
+ Misses 25439 25225 -214
Continue to review full report at Codecov.
|
This commit fixes a bunch of missing free() calls in a10d50f Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: João Carlos Mendes Luís <jonny@jonny.eng.br> Closes openzfs#10219 (cherry picked from commit 70e5ad3)
This commit fixes a bunch of missing free() calls in a10d50f Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: João Carlos Mendes Luís <jonny@jonny.eng.br> Closes openzfs#10219 (cherry picked from commit 70e5ad3)
This commit fixes a bunch of missing free() calls in a10d50f Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: João Carlos Mendes Luís <jonny@jonny.eng.br> Closes openzfs#10219
Motivation and Context
Found some Leaks using ASAN compilation
Description
This commit fixes a bunch of missing free() calls created in a10d50f
How Has This Been Tested?
Build and run. Message is gone.
Types of changes
Checklist:
Signed-off-by
.