[CLucene-dev] Potential bug in SegmentTermEnum.cpp

2010-10-22 Thread Rustem Alimov
Hi, src/core/CLucene/index/SegmentTermEnum.cpp : line 377 [code] //Instantiate the new buffer + 1 is needed for terminator '\0' if ( buffer == NULL ) buffer = (TCHAR*)malloc(sizeof(TCHAR) * (bufferLength+1)); else buffer = (TCHAR*)realloc(buffer, si

[CLucene-dev] New memory leak found and fixed

2010-10-22 Thread Kostka BoĊ™ivoj
BufferedNorms pointer removed from norms array if empty but object not deleted Fix pushed to memory_leaks branch Borek -- Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & game

Re: [CLucene-dev] How to submit patch?

2010-10-22 Thread Veit Jahns
Hi Pankaj! > I want to submit those changes back to the clucene project. How can I do > that? Great! There two ways: You open a ticket in the bug tracker [1] of CLucene (where you can attach the patches) or you just send them to the mailing list. Itamar, I or someone other will take a look at it,

Re: [CLucene-dev] CLUCENE_INLINE_EXPORT and How to test contribs

2010-10-22 Thread Veit Jahns
2010/9/13 Itamar Syn-Hershko : > 2. I don't see why cl_test can't be linked to test the contribs as well. > If you could update the CMake scripts to make this optional (the linkage > to contribs, and the contrib tests), that would be ideal. I ported the GermanAnalyzer and the respective test from