mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Actually check for mi->bi_extra
This commit is contained in:
parent
cd914149a6
commit
f4a68297a0
@ -494,7 +494,7 @@ bdb_monitor_db_close( BackendDB *be )
|
||||
BackendInfo *mi = backend_info( "monitor" );
|
||||
monitor_extra_t *mbe;
|
||||
|
||||
if ( mi && &mi->bi_extra ) {
|
||||
if ( mi && mi->bi_extra ) {
|
||||
mbe = mi->bi_extra;
|
||||
mbe->unregister_entry_callback( &bdb->bi_monitor.bdm_ndn,
|
||||
(monitor_callback_t *)bdb->bi_monitor.bdm_cb,
|
||||
|
@ -554,7 +554,7 @@ mdb_monitor_db_close( BackendDB *be )
|
||||
BackendInfo *mi = backend_info( "monitor" );
|
||||
monitor_extra_t *mbe;
|
||||
|
||||
if ( mi && &mi->bi_extra ) {
|
||||
if ( mi && mi->bi_extra ) {
|
||||
mbe = mi->bi_extra;
|
||||
mbe->unregister_entry_callback( &mdb->mi_monitor.mdm_ndn,
|
||||
(monitor_callback_t *)mdb->mi_monitor.mdm_cb,
|
||||
|
@ -5631,7 +5631,7 @@ pcache_monitor_db_close( BackendDB *be )
|
||||
BackendInfo *mi = backend_info( "monitor" );
|
||||
monitor_extra_t *mbe;
|
||||
|
||||
if ( mi && &mi->bi_extra ) {
|
||||
if ( mi && mi->bi_extra ) {
|
||||
mbe = mi->bi_extra;
|
||||
mbe->unregister_entry_callback( &cm->monitor_ndn,
|
||||
(monitor_callback_t *)cm->monitor_cb,
|
||||
|
Loading…
Reference in New Issue
Block a user