mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-25 22:50:12 -05:00
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>