Skip to content

Commit 4efec08

Browse files
author
Jaakko Korhonen
committed
Added missing _mutex->unlock() to FileBase::lookup().
1 parent d30ae07 commit 4efec08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

platform/FileBase.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ FileBase *FileBase::lookup(const char *name, unsigned int len)
8888
p = p->_next;
8989
}
9090
if (len == (sizeof "default") - 1 && std::memcmp("default", name, len) == 0) {
91+
_mutex->unlock();
9192
return _default;
9293
}
9394
_mutex->unlock();

0 commit comments

Comments
 (0)