fix ITS#4802

This commit is contained in:
Pierangelo Masarati 2007-01-17 22:22:00 +00:00
parent b604ef8d52
commit 7701c82b68

View File

@ -320,12 +320,14 @@ refint_close(
ij = ii->next; ij = ii->next;
ch_free(ii); ch_free(ii);
} }
id->attrs = NULL;
ch_free( id->dn.bv_val ); ch_free( id->dn.bv_val );
BER_BVZERO( &id->dn );
ch_free( id->nothing.bv_val ); ch_free( id->nothing.bv_val );
BER_BVZERO( &id->nothing );
ch_free( id->nnothing.bv_val ); ch_free( id->nnothing.bv_val );
BER_BVZERO( &id->nnothing );
memset( id, 0, sizeof(*id));
return(0); return(0);
} }