idl_free( idl );
idl = idl_allids( be );
rc = idl_store( be, db, key, idl );
- idl_free( idl );
-
- return( rc );
+ break;
}
idl_split_block( idl, id, &tmp, &tmp2 );
Debug( LDAP_DEBUG_ANY, "nonexistent continuation block (%s)\n",
k2.dptr, 0, 0 );
free( kstr );
+ idl_free( idl );
return( -1 );
}
return( 0 );
case 3: /* split the original block */
- idl_free( tmp2 );
break;
}
-
+ idl_free( tmp2 );
}
/*
idl_store( be, db, key, idl );
}
+ idl_free( idl );
return 0;
}
/* We didn't find the ID. Hmmm... */
}
+ idl_free( idl );
return -1;
}
else
idl_store( be, db, key, idl );
}
+ idl_free( tmp );
free( kstr );
+ idl_free( idl );
return 0;
}
}
+ idl_free( tmp );
}
free( kstr );
+ idl_free( idl );
return -1;
}
char *dn = ch_strdup( cargv[1] );
(void) dn_normalize_case( dn );
charray_add( &be->be_suffix, dn );
+ free( dn );
}
/* set database suffixAlias */
if ( strncasecmp( cargv[i], "host=", 5 )
== 0 ) {
charray_add( &be->be_replica,
- ch_strdup( cargv[i] + 5 ) );
+ cargv[i] + 5 );
break;
}
}