mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-17 14:00:30 +08:00
DELETE needs pointer initialization like EMIT (ITS#7526)
This commit is contained in:
parent
ecb7fc4243
commit
648d28fb0b
@ -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 New Issue
Block a user