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 Handle Leak of ReadableJsonConfigurationProvider in FromStdInStrategy class #59959

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Anchels
Copy link

@Anchels Anchels commented Jan 20, 2025

Fix Handle Leak of ReadableJsonConfigurationProvider in FromStdInStrategy class

  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

Description

Add the using statement to ensure proper disposal.

Fixes #59260

Found by Linux Verification Center (linuxtesting.org) with SVACE.
Reporter: Michael Titov (titov.ma@npc-ksb.ru).
Organization: info@npc-ksb.ru

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-commandlinetools Includes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPI label Jan 20, 2025
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Jan 20, 2025
Copy link
Contributor

Thanks for your PR, @Anchels. Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-commandlinetools Includes: Command line tools, dotnet-dev-certs, dotnet-user-jwts, and OpenAPI community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle Leak of ReadableJsonConfigurationProvider in FromStdInStrategy class
1 participant