Fix memory leak in FileScanner

This commit is contained in:
Michał Janiszewski committed 2016-10-23 22:28:35 +02:00
1 parent 8894be6a6d
commit a75c1f1bc4
1 file changed
+2
+2
View File
@@ -311,7 +311,9 @@ protected:
DirectoryChild child = CreateChild(path, node);
children.push_back(child);
}
free(namelist[i]);
}
free(namelist);
}
}