mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
fix ITS#4802
This commit is contained in:
parent
b604ef8d52
commit
7701c82b68
@ -320,12 +320,14 @@ refint_close(
|
||||
ij = ii->next;
|
||||
ch_free(ii);
|
||||
}
|
||||
id->attrs = NULL;
|
||||
|
||||
ch_free(id->dn.bv_val);
|
||||
ch_free(id->nothing.bv_val);
|
||||
ch_free(id->nnothing.bv_val);
|
||||
|
||||
memset( id, 0, sizeof(*id));
|
||||
ch_free( id->dn.bv_val );
|
||||
BER_BVZERO( &id->dn );
|
||||
ch_free( id->nothing.bv_val );
|
||||
BER_BVZERO( &id->nothing );
|
||||
ch_free( id->nnothing.bv_val );
|
||||
BER_BVZERO( &id->nnothing );
|
||||
|
||||
return(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user