clucene-debug.patch 353 B

123456789101112
  1. --- src/core/CLucene/index/TermInfosReader.cpp
  2. +++ src/core/CLucene/index/TermInfosReader.cpp
  3. @@ -111,7 +111,7 @@
  4. //destroy their elements
  5. #ifdef _DEBUG
  6. for ( int32_t i=0; i<indexTermsLength;++i ){
  7. - indexTerms[i].__cl_refcount--;
  8. + indexTerms[i].__cl_decref();
  9. }
  10. #endif
  11. //Delete the arrays