mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
Import fix from modification of string literal "dn" from devel.
This commit is contained in:
parent
9b791fbbe9
commit
f4f7ab73e8
1 changed files with 5 additions and 1 deletions
|
|
@ -39,7 +39,11 @@ index_add_entry(
|
|||
bvals[1] = NULL;
|
||||
|
||||
/* add the dn to the indexes */
|
||||
index_add_values( be, "dn", bvals, e->e_id );
|
||||
{
|
||||
char *dn = ch_strdup("dn");
|
||||
index_add_values( be, dn, bvals, e->e_id );
|
||||
free( dn );
|
||||
}
|
||||
|
||||
free( bv.bv_val );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue