mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-02 21:19:53 -05:00
fix ITS#4802
This commit is contained in:
parent
b604ef8d52
commit
7701c82b68
1 changed files with 7 additions and 5 deletions
|
|
@ -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 a new issue