mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Annoying little son of a `free' BUG fixed.
This commit is contained in:
parent
3028424f68
commit
e0fdd89432
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user