summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/backtraceapi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/backtraceapi.cxx b/sal/osl/unx/backtraceapi.cxx
index d67806d9268b..bd8db79e0181 100644
--- a/sal/osl/unx/backtraceapi.cxx
+++ b/sal/osl/unx/backtraceapi.cxx
@@ -206,7 +206,7 @@ OUString sal::backtrace_to_string(BacktraceState* backtraceState)
void* addr = backtraceState->buffer[i];
std::unique_lock guard(frameCacheMutex);
auto it = frameCache.find(addr);
- guard.release();
+ guard.unlock();
if( it != frameCache.end())
{
frameData[ i ].info = it->second;