[CLucene-dev] Memory leak in IndexWriter::applyDeletes

2014-04-29 Thread Roger.Bosshard
Hello, I think there is a leak in the file IndexWrite.cpp, function IndexWriter::applyDeletes for (int32_t i = 0; i infosEnd; i++) { IndexReader* reader = NULL; try { reader = SegmentReader::get(segmentInfos-info(i), false); // Apply delete terms to disk segments

[CLucene-dev] FW: Memory leak in QueryTermExtractor::getTerms

2014-04-30 Thread Roger.Bosshard
Hello, I think there is a leak in the file QueryTermExtractor.cpp, function QueryTermExtractor::getTerms It was submitted already 07/2008 but I do not see it in the current version of CLucene or Lucene++ void QueryTermExtractor::getTerms(const Query * query, WeightedTermList * terms, bool

Re: [CLucene-dev] CLucene-developers Digest, Vol 85, Issue 4

2014-04-30 Thread Roger.Bosshard
I've downloaded 2.3.3.4 from SourceForce recently (a zip). IndexWrite.cpp is dated 17.03.2011 00:21 Is there any better I have to look at ? Thanks Roger -Original Message- From: clucene-developers-requ...@lists.sourceforge.net [mailto:clucene-developers-requ...@lists.sourceforge.net]

[CLucene-dev] Crash in IndexWriter::flushDocStores

2014-05-05 Thread Roger.Bosshard
Hello, There is a crash in IndexWrite.cpp IndexWrite::flushDocStores() I have gone through some searches in the Lucene pages. It is mentioned to be a problem but no fix is visible. Could you confirm the following fix I have done below. Thanks Roger Bosshard In IndexWrite.cpp bool