]> git.sur5r.net Git - openldap/commitdiff
Annoying little son of a `free' BUG fixed.
authorBart Hartgers <bart@openldap.org>
Tue, 2 Mar 1999 20:14:11 +0000 (20:14 +0000)
committerBart Hartgers <bart@openldap.org>
Tue, 2 Mar 1999 20:14:11 +0000 (20:14 +0000)
servers/slapd/back-ldbm/bind.c

index d70c43eb4529f20808db43d614ba4de58f9e005e..70d3d06d4a79e8e7596c510e30fd43feedc32857 100644 (file)
@@ -123,7 +123,7 @@ ldbm_back_bind(
                /* check for root dn/passwd */
                if ( be_isroot_pw( be, dn, cred ) ) {
                        /* front end will send result */
-                       if(*edn != NULL) free( edn );
+                       if(*edn != NULL) free( *edn );
                        *edn = ch_strdup( be_root_dn( be ) );
                        rc = 0;
                        goto return_results;