File 0217-ITS-9409-saslauthz-use-slap_sl_free-in-prev-commit.patch of Package openldap2.19532

From 5d7ac6942c4e42a330b8874b71338b11a79c7051 Mon Sep 17 00:00:00 2001
From: Howard Chu <hyc@openldap.org>
Date: Mon, 30 Nov 2020 16:20:18 +0000
Subject: [PATCH 217/224] ITS#9409 saslauthz: use slap_sl_free in prev commit

---
 servers/slapd/saslauthz.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/servers/slapd/saslauthz.c b/servers/slapd/saslauthz.c
index 6001a5cbe..19c058cbf 100644
--- a/servers/slapd/saslauthz.c
+++ b/servers/slapd/saslauthz.c
@@ -860,7 +860,7 @@ done:
 
 	if ( lud_dn ) {
 		if ( ludp->lud_dn != lud_dn ) {
-			ch_free( ludp->lud_dn );
+			slap_sl_free( ludp->lud_dn, ctx );
 		}
 		ludp->lud_dn = lud_dn;
 	}
-- 
2.30.0
openSUSE Build Service is sponsored by