Files
freeipa/daemons
Viktor Ashirov edc00aae57 ipa-pwd-extop: fix valueset memory leak in ipapwd_get_cur_kvno()
In `ipapwd_get_cur_kvno()`, the `Slapi_ValueSet` obtained via
`slapi_attr_get_valueset()` was never freed. This function returns a
copy of the valueset that must be freed by the caller using
`slapi_valueset_free()`.

Add `slapi_valueset_free(svs)` before returning from the function.

Related: https://pagure.io/freeipa/issue/9895
Signed-off-by: Viktor Ashirov <vashirov@redhat.com>
Reviewed-By: Alexander Bokovoy <abbra@users.noreply.github.com>
2025-12-18 08:39:20 -03:00
..
2025-12-09 12:33:34 +01:00