mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
plug one time leak
This commit is contained in:
parent
82d3fbf4e3
commit
2e6cd12216
@ -1030,6 +1030,10 @@ retcode_db_destroy( BackendDB *be )
|
||||
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_nname );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user