office-gobmx/clucene/patches/clucene-debug.patch

12 lines
353 B
Diff
Raw Normal View History

2012-02-23 07:21:10 -06:00
--- src/core/CLucene/index/TermInfosReader.cpp
+++ src/core/CLucene/index/TermInfosReader.cpp
@@ -111,7 +111,7 @@
//destroy their elements
#ifdef _DEBUG
for ( int32_t i=0; i<indexTermsLength;++i ){
- indexTerms[i].__cl_refcount--;
+ indexTerms[i].__cl_decref();
}
#endif
//Delete the arrays