Added missing _mutex->unlock() to FileBase::lookup().

pull/8451/head
Jaakko Korhonen 2018-10-17 14:03:26 +03:00
parent d30ae07b6e
commit 4efec08127
1 changed files with 1 additions and 0 deletions

View File

@ -88,6 +88,7 @@ FileBase *FileBase::lookup(const char *name, unsigned int len)
p = p->_next;
}
if (len == (sizeof "default") - 1 && std::memcmp("default", name, len) == 0) {
_mutex->unlock();
return _default;
}
_mutex->unlock();