I used VLD to trace the leaks. I found four real leaks, all related to search.
All caused by missing
reader->close() call in SearchFiles function. If I add
reader->close();
just before
_CLLDELETE(reader);
all leaks disapears.
I'm not sure if it should be considered as a bug in core or just bug in cl_demo
that close() should
be called before deleteing IndexReader.
There is another strange set of leaks reported by crtdbg in MSVC debugging
environment, but
I think they are not real leaks (e.g. one of them contains "Time taken..."
string constant used
in final message)
Borek
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
CLucene-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clucene-developers