-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`ldb_msg_add_value()` makes a copy under the hood, so there is no need to make intermediate copy of `secret` argument. This copy - `secret_val.data` - was left hanging on `sss_sec_ctx`, effectively resulting in a memory leak. :fixes:'sssd_kcm' memory leak was fixed.
- Loading branch information
1 parent
196ad92
commit 5d3f318
Showing
1 changed file
with
2 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters