plug one time leak

This commit is contained in:
Pierangelo Masarati 2005-11-09 02:48:37 +00:00
parent 82d3fbf4e3
commit 2e6cd12216

View File

@ -1030,6 +1030,10 @@ retcode_db_destroy( BackendDB *be )
ber_memfree( rdi->rdi_matched.bv_val ); ber_memfree( rdi->rdi_matched.bv_val );
} }
if ( rdi->rdi_ref ) {
ber_bvarray_free( rdi->rdi_ref );
}
BER_BVZERO( &rdi->rdi_e.e_name ); BER_BVZERO( &rdi->rdi_e.e_name );
BER_BVZERO( &rdi->rdi_e.e_nname ); BER_BVZERO( &rdi->rdi_e.e_nname );