mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 16:49:39 -05:00
plug one time leak
This commit is contained in:
parent
82d3fbf4e3
commit
2e6cd12216
1 changed files with 4 additions and 0 deletions
|
|
@ -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 a new issue