mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-06 15:10:22 -05:00
DELETE needs pointer initialization like EMIT (ITS#7526)
This commit is contained in:
parent
ecb7fc4243
commit
648d28fb0b
1 changed files with 5 additions and 3 deletions
|
|
@ -1089,9 +1089,7 @@ meta_back_cf_gen( ConfigArgs *c )
|
|||
|
||||
assert( mi != NULL );
|
||||
|
||||
if ( c->op == SLAP_CONFIG_EMIT ) {
|
||||
struct berval bv = BER_BVNULL;
|
||||
|
||||
if ( c->op == SLAP_CONFIG_EMIT || c->op == LDAP_MOD_DELETE ) {
|
||||
if ( !mi )
|
||||
return 1;
|
||||
|
||||
|
|
@ -1102,6 +1100,10 @@ meta_back_cf_gen( ConfigArgs *c )
|
|||
mt = c->ca_private;
|
||||
mc = &mt->mt_mc;
|
||||
}
|
||||
}
|
||||
|
||||
if ( c->op == SLAP_CONFIG_EMIT ) {
|
||||
struct berval bv = BER_BVNULL;
|
||||
|
||||
switch( c->type ) {
|
||||
/* Base attrs */
|
||||
|
|
|
|||
Loading…
Reference in a new issue