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

Fix coverity issues from 18/07/2023 #730

Merged
merged 3 commits into from
Jul 18, 2023

Conversation

kbenzie
Copy link
Contributor

@kbenzie kbenzie commented Jul 18, 2023

  • [coverity] Fix 1566349 Resource leak
  • [coverity] Fix 1566348 Uninitialized scalar field
  • [coverity] Fix 1566349 Resource leak

Ensure that the `ur_loader_config_handle_t` is always cleaned up even in
the event of assert failures in `SetUp()` by releasing it in `TearDown()`.
Default initialize the `enableParameterValidation` and
`enableLeakChecking` data members of the
`ur_validation_layer::context_t` object.
Move `ur_loader_config_handle_t` cleanup to the text fixture's
`TearDown()`.
@kbenzie kbenzie changed the title benie/fix coverity 18 07 2023 Fix coverity issues from 18/07/2023 Jul 18, 2023
@wlemkows wlemkows merged commit 9773a79 into oneapi-src:main Jul 18, 2023
20 checks passed
@kbenzie kbenzie deleted the benie/fix-coverity-18-07-2023 branch January 29, 2024 13:49
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.

3 participants