From 9e80eab803512c2c9bff39c20ebfe48e98451ffa Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Thu, 26 May 2011 13:48:11 +0200 Subject: [PATCH] fix uninitialized bindref_time (found with valgrind) --- servers/slapd/overlays/pcache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index 75ab887bdf..dca24cea03 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -1552,6 +1552,7 @@ add_query( } new_cached_query->expiry_time = now + ttl; new_cached_query->refresh_time = ttr; + new_cached_query->bindref_time = 0; new_cached_query->answerable_cnt = 0; new_cached_query->refcnt = 1;