fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[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;