]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9409 saslauthz: use slap_sl_free in prev commit
authorHoward Chu <hyc@openldap.org>
Mon, 30 Nov 2020 16:20:18 +0000 (16:20 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 2 Dec 2020 21:38:39 +0000 (21:38 +0000)
servers/slapd/saslauthz.c

index cc5a292de726c9d4bc24460ac896f30132891b79..4a9420b37c44b6e07fc66bf39fae83014d604f19 100644 (file)
@@ -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;
        }