mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-31 17:17:48 -05:00
In `ipapwd_pre_add()` and `ipapwd_pre_mod()`, `binddn` is obtained via `slapi_pblock_get()` with SLAPI_CONN_DN which returns an allocated string. This string was never freed after use. Add `slapi_ch_free_string(&binddn)` calls after the bind DN is no longer needed in both functions. Related: https://pagure.io/freeipa/issue/9895 Signed-off-by: Viktor Ashirov <vashirov@redhat.com> Reviewed-By: Alexander Bokovoy <abbra@users.noreply.github.com>