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 a leak and improve users and groups APIs on Windows #7755

Merged

Conversation

Smjert
Copy link
Member

@Smjert Smjert commented Aug 31, 2022

Ideally in the future we create factory functions/wrappers for each Windows API that allocates, so that's possible to create a smart pointer without giving access to the smart pointer internals (like with get_new_ptr()).

Fixes #7754

@Smjert Smjert requested review from a team as code owners August 31, 2022 16:07
@Smjert Smjert added this to the 5.6.0 milestone Aug 31, 2022
@mike-myers-tob mike-myers-tob merged commit 7d19b4a into osquery:master Sep 13, 2022
@mike-myers-tob mike-myers-tob deleted the stefano/fix/users-service-leak branch September 13, 2022 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Memory leak in users_service
3 participants