libtracker: VirtualDirectoryManager::_RemoveDirectory(): typo
Should have caused infinite recursion when the directory still had children.
This commit is contained in:
parent
c591ff14a1
commit
8a2643daee
@ -677,7 +677,7 @@ VirtualDirectoryManager::_RemoveDirectory(Info* info)
|
||||
{
|
||||
// recursively remove the subdirectories
|
||||
for (int32 i = 0; Info* child = info->Children().ItemAt(i); i++)
|
||||
_RemoveDirectory(info);
|
||||
_RemoveDirectory(child);
|
||||
|
||||
// remove the directory for the child definition file
|
||||
if (!info->Id().IsEmpty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user