]> git.sur5r.net Git - openldap/commitdiff
cleanup monitor unregister (ITS#6808)
authorPierangelo Masarati <ando@openldap.org>
Thu, 27 Jan 2011 22:27:22 +0000 (22:27 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 27 Jan 2011 22:27:22 +0000 (22:27 +0000)
servers/slapd/overlays/pcache.c

index 68c324d86d3e21f958bb498de1d56c2834d2b104..64de6a43dddd39c177d7ba3cf53b6810a29aa6bf 100644 (file)
@@ -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 );
                }