Skip to content
Snippets Groups Projects
Commit a0d2b3c5 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Apply string literal strdup fix to BDB2.

parent 0ce6ddb8
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,11 @@ bdb2i_index_add_entry(
bvals[1] = NULL;
/* add the dn to the indexes */
bdb2i_index_add_values( be, "dn", bvals, e->e_id );
{
char *dn = ch_strdup( "dn" );
bdb2i_index_add_values( be, dn, bvals, e->e_id );
free( dn );
}
free( bv.bv_val );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment