Bump version to 24.04.3.4
[LibreOffice.git] / external / clucene / patches / clucene-mutex.patch
blob2a6b7d2d3642196a624763effdca17e6702f1335
1 --- src/core/CLucene/store/FSDirectory.cpp
2 +++ src/core/CLucene/store/FSDirectory.cpp
3 @@ -219,9 +219,8 @@
4 _CLDECDELETE(handle);
6 //printf("handle=%d\n", handle->__cl_refcount);
7 - if ( dounlock ){
8 mutex->unlock();
9 - }else{
10 + if ( !dounlock ){
11 delete mutex;