From 9637ba0802eb0fe437c1f0d277dd3c524981ba56 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 8 Dec 2005 11:10:03 +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 2d01170..a5c05a9 100644 --- a/index/zinfo.c +++ b/index/zinfo.c @@ -1,4 +1,4 @@ -/* $Id: zinfo.c,v 1.51 2005-08-30 12:23:02 adam Exp $ +/* $Id: zinfo.c,v 1.52 2005-12-08 11:10:03 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -345,6 +345,7 @@ ZebraExplainInfo zebraExplain_open ( yaz_log (YLOG_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