]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: LDAP fix resource leak with wrong credentials
authorJohannes <68052021+jliebl-git@users.noreply.github.com>
Mon, 17 Oct 2022 12:46:43 +0000 (14:46 +0200)
committerGitHub <noreply@github.com>
Mon, 17 Oct 2022 12:46:43 +0000 (14:46 +0200)
commitfa8945e7a281e3cc3c42ce5313f2de3838dcfd41
tree0a6ba54ad5b14c2e7240426f0627bc1605b282b2
parent4193b6456202b59aadfdbbe9cb6b410fc5f67e18
rgw: LDAP fix resource leak with wrong credentials

/src/rgw/ldap.h: moved ldap_unbind to outside of successful states to always clean up connections

Fixes: https://tracker.ceph.com/issues/57881
Signed-off-by: Johannes Liebl <68052021+jliebl-git@users.noreply.github.com>
Signed-off-by: Johannes <68052021+jliebl-git@users.noreply.github.com>
src/rgw/rgw_ldap.h