From: Pierangelo Masarati Date: Thu, 27 Jan 2011 22:27:22 +0000 (+0000) Subject: cleanup monitor unregister (ITS#6808) X-Git-Tag: MIGRATION_CVS2GIT~173 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2a513ad62324f68eda0f7b3197168a56cb440d5c;p=openldap cleanup monitor unregister (ITS#6808) --- diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index 68c324d86d..64de6a43dd 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -5523,7 +5523,7 @@ pcache_monitor_db_close( BackendDB *be ) if ( mi && &mi->bi_extra ) { mbe = mi->bi_extra; - mbe->unregister_entry_callback( NULL, + mbe->unregister_entry_callback( &cm->monitor_ndn, (monitor_callback_t *)cm->monitor_cb, NULL, 0, NULL ); }