1
0
Fork 0
libreoffice/external/clucene/patches/clucene-mutex.patch
Daniel Baumann 8e63e14cf6
Adding upstream version 4:25.2.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 16:20:04 +02:00

13 lines
283 B
Diff

--- src/core/CLucene/store/FSDirectory.cpp
+++ src/core/CLucene/store/FSDirectory.cpp
@@ -219,9 +219,8 @@
_CLDECDELETE(handle);
//printf("handle=%d\n", handle->__cl_refcount);
- if ( dounlock ){
mutex->unlock();
- }else{
+ if ( !dounlock ){
delete mutex;
}
}