Skip to content

Conversation

@Anchels
Copy link
Contributor

@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.

@ghost ghost 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
@dotnet-policy-service dotnet-policy-service bot added the pending-ci-rerun When assigned to a PR indicates that the CI checks should be rerun label Jan 27, 2025
@danmoseley danmoseley requested a review from Copilot February 14, 2025 03:56
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Copy link
Member

@danmoseley danmoseley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@danmoseley danmoseley enabled auto-merge (squash) February 14, 2025 03:58
@BrennanConroy
Copy link
Member

/azp run

@dotnet-policy-service dotnet-policy-service bot removed the pending-ci-rerun When assigned to a PR indicates that the CI checks should be rerun label Dec 10, 2025
@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@danmoseley danmoseley merged commit 7a76a16 into dotnet:main Dec 10, 2025
30 of 31 checks passed
@dotnet-policy-service dotnet-policy-service bot added this to the 11.0-preview1 milestone Dec 10, 2025
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

3 participants