From: Bart Hartgers Date: Tue, 2 Mar 1999 20:14:11 +0000 (+0000) Subject: Annoying little son of a `free' BUG fixed. X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~526 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e0fdd89432f922267269f276831ad1dc020ffdc0;p=openldap Annoying little son of a `free' BUG fixed. --- diff --git a/servers/slapd/back-ldbm/bind.c b/servers/slapd/back-ldbm/bind.c index d70c43eb45..70d3d06d4a 100644 --- a/servers/slapd/back-ldbm/bind.c +++ b/servers/slapd/back-ldbm/bind.c @@ -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;