]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9409 saslauthz: use ch_free on normalized DN
authorHoward Chu <hyc@openldap.org>
Mon, 30 Nov 2020 11:45:46 +0000 (11:45 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 2 Dec 2020 21:37:21 +0000 (21:37 +0000)
servers/slapd/saslauthz.c

index 982fe3120dbde22bf068105b61a90c857eb1c0b6..cc5a292de726c9d4bc24460ac896f30132891b79 100644 (file)
@@ -860,7 +860,7 @@ done:
 
        if ( lud_dn ) {
                if ( ludp->lud_dn != lud_dn ) {
-                       ber_memfree( ludp->lud_dn );
+                       ch_free( ludp->lud_dn );
                }
                ludp->lud_dn = lud_dn;
        }