Skip to content
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

i#3314: Free drmodtrack user memory on parsing errors #3500

Merged
merged 5 commits into from
Apr 3, 2019

Conversation

derekbruening
Copy link
Contributor

Adds freeing of drmodtrack custom user allocations on parsing errors.
Previously, we would leak the memory.

Adds a test to drmodtrack-test. Confirmed that without this fix the
test fails.

Fixes #3314

Adds freeing of drmodtrack custom user allocations on parsing errors.
Previously, we would leak the memory.

Adds a test to drmodtrack-test.  Confirmed that without this fix the
test fails.

Fixes #3314
@derekbruening
Copy link
Contributor Author

The appveyor failure was due to 2 different drcachesim tests failing flakily!

missfile-config is #3136. warmup-zeros is #3320.

debug-internal-32: 252 tests passed, **** 2 tests failed, but ignoring 1 for i#2145: ****
26205	(ignore: i#2145) 	code_api|client.pcache-use 
26206	code_api|tool.drcachesim.missfile-config-file 
26207
26208====> FAILURE in debug-internal-64 <====
26209debug-internal-64: 224 tests passed, **** 2 tests failed, but ignoring 1 for i#2145: ****
26210	(ignore: i#2145) 	code_api|client.loader 
26211	code_api|tool.drcachesim.warmup-zeros

@derekbruening derekbruening merged commit f2cf681 into master Apr 3, 2019
@derekbruening derekbruening deleted the i3314-drmodtrack-leak branch April 3, 2019 18:33
hgreving2304 pushed a commit that referenced this pull request Apr 22, 2019
Adds freeing of drmodtrack custom user allocations on parsing errors.
Previously, we would leak the memory.

Adds a test to drmodtrack-test.  Confirmed that without this fix the
test fails.

Fixes #3314
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

drmodtrack leaks memory on parsing errors
1 participant