]> git.sur5r.net Git - openldap/commitdiff
Fix nameUIDvalidate memfree
authorHoward Chu <hyc@openldap.org>
Wed, 15 May 2002 00:48:47 +0000 (00:48 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 15 May 2002 00:48:47 +0000 (00:48 +0000)
servers/slapd/schema_init.c

index ff204a19034a14e7cd08171de6fb6ffc369c5ae5..f37cbf19ce1681609367b90f9ab616738ea42322 100644 (file)
@@ -274,7 +274,7 @@ nameUIDValidate(
 
        rc = dnValidate( NULL, &dn );
 
-       ber_memfree( &dn );
+       ber_memfree( dn.bv_val );
        return rc;
 }