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

KCM: fix memory leak #7822

Closed
wants to merge 1 commit into from

Conversation

alexey-tikhonov
Copy link
Member

ldb_msg_add_value() makes a copy under the hood, so secret_val.data was left hanging on sss_sec_ctx.

`ldb_msg_add_value()` makes a copy under the hood, so `secret_val.data`
was left hanging on `sss_sec_ctx`.

:fixes:'sssd_kcm' memory leak was fixed.
@alexey-tikhonov
Copy link
Member Author

Probably a better solution - #7823

@alexey-tikhonov alexey-tikhonov added the superseded This PR is superseded in favor if a different one label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch: sssd-2-9 superseded This PR is superseded in favor if a different one
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant