]> git.sur5r.net Git - openldap/commitdiff
make sure members are not used uninitialized
authorPierangelo Masarati <ando@openldap.org>
Wed, 7 Oct 2009 22:44:14 +0000 (22:44 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 7 Oct 2009 22:44:14 +0000 (22:44 +0000)
servers/slapd/overlays/pcache.c

index eac0f6205d5ceeb3eaac79e4f285d3c992125a21..309a192771ae367fbc8e2f9bc2056fe7b0f50a96 100644 (file)
@@ -4377,9 +4377,13 @@ pcache_db_init(
        cm->check_cacheability = 0;
        cm->response_cb = PCACHE_RESPONSE_CB_TAIL;
        cm->defer_db_open = 1;
+       cm->cache_binds = 0;
        cm->cc_period = 1000;
        cm->cc_paused = 0;
        cm->cc_arg = NULL;
+#ifdef PCACHE_MONITOR
+       cm->monitor_cb = NULL;
+#endif /* PCACHE_MONITOR */
 
        qm->attr_sets = NULL;
        qm->templates = NULL;