}
}
- monitor_cache_release( mi, mc->mc_e );
+
+ if ( mc ) {
+ monitor_cache_release( mi, mc->mc_e );
+ }
}
ldap_pvt_thread_mutex_unlock( &mi->mi_cache_mutex );
return -1;
}
+ /* entry will be regularly freed, and resources released
+ * according to callbacks */
+ if ( slapd_shutdown ) {
+ return 0;
+ }
+
mi = ( monitor_info_t * )be_monitor->be_private;
assert( mi != NULL );
return -1;
}
+ /* entry will be regularly freed, and resources released
+ * according to callbacks */
+ if ( slapd_shutdown ) {
+ return 0;
+ }
+
mi = ( monitor_info_t * )be_monitor->be_private;
assert( mi != NULL );
return -1;
}
+ /* entry will be regularly freed, and resources released
+ * according to callbacks */
+ if ( slapd_shutdown ) {
+ return 0;
+ }
+
mi = ( monitor_info_t * )be_monitor->be_private;
assert( mi != NULL );