Merge pull request #171 from ial0/fix-refactor

Fix undeeded string assignment in eraseNode
This commit is contained in:
Valient Gough 2016-05-13 11:19:58 -07:00
commit e19f4a8c69

View File

@ -127,6 +127,10 @@ void EncFS_Context::eraseNode(const char *path, FileNode *pl) {
it->second.pop_front(); it->second.pop_front();
// if no more references to this file, remove the record all together
if (it->second.empty()) {
openFiles.erase(it);
}
} }
} // namespace encfs } // namespace encfs