]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Missed one free() of edn
authorKurt Zeilenga <kurt@openldap.org>
Fri, 20 Aug 1999 21:20:12 +0000 (21:20 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 20 Aug 1999 21:20:12 +0000 (21:20 +0000)
servers/slapd/back-ldbm/bind.c

index cb1fd032179f6e6e8db8dfa3e895ed66fe988b76..629eaf846b43033625c3b847c5973a42179c60c7 100644 (file)
@@ -120,6 +120,7 @@ ldbm_back_bind(
                        goto return_results;
                } else if ( be_isroot_pw( be, dn, cred ) ) {
                        /* front end will send result */
+                       if( *edn != NULL ) free( *edn );
                        *edn = ch_strdup( be_root_dn( be ) );
                        rc = 0;
                        goto return_results;