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: resources leak in ActiveDirectorySchemaClass in GetPropertyValuesRecursively #99526

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

sancheolz
Copy link
Contributor

ActiveDirectorySchemaClass implements IDisposable, so it should be called Dispose after use.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-directoryservices, @jay98014
See info in area-owners.md if you want to be subscribed.

@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Mar 11, 2024
@sancheolz sancheolz force-pushed the fixHandleLeakDirServices branch from 1badcdc to deb58d7 Compare March 11, 2024 14:30
Copy link
Contributor

@buyaa-n buyaa-n left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@buyaa-n buyaa-n merged commit ce47d49 into dotnet:main Mar 14, 2024
111 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Apr 14, 2024
@sancheolz sancheolz deleted the fixHandleLeakDirServices branch August 13, 2024 13:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.DirectoryServices 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.

2 participants