From 0fd6009ae18f12d220761e53de6b2435b3555baf Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 8 Dec 2005 11:10:09 +0000 Subject: [PATCH] This member was not initialized in some cases (valgrind) --- index/zinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index/zinfo.c b/index/zinfo.c index 6b6692f..9d3c4ef 100644 --- a/index/zinfo.c +++ b/index/zinfo.c @@ -1,4 +1,4 @@ -/* $Id: zinfo.c,v 1.37.2.2 2005-01-16 23:33:26 adam Exp $ +/* $Id: zinfo.c,v 1.37.2.3 2005-12-08 11:10:09 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003 Index Data Aps @@ -336,6 +336,7 @@ ZebraExplainInfo zebraExplain_open ( logf (LOG_LOG, "zebraExplain_open wr=%d", writeFlag); #endif zei = (ZebraExplainInfo) nmem_malloc (nmem, sizeof(*zei)); + zei->databaseInfo = 0; zei->write_flag = writeFlag; zei->updateHandle = updateHandle; zei->updateFunc = updateFunc; -- 1.7.10.4