mirror of
https://github.com/joel16/NX-Shell.git
synced 2024-11-26 21:20:27 +00:00
fs: Clear vector entries before inserting data
This commit is contained in:
parent
c602482f70
commit
99b8908e54
@ -118,6 +118,7 @@ namespace FS {
|
||||
Result ret = 0;
|
||||
s64 read_entries = 0;
|
||||
const std::string cwd = path;
|
||||
entries.clear();
|
||||
|
||||
if (strncmp(path, "/", std::strlen(path))) {
|
||||
FsDirectoryEntry entry;
|
||||
|
Loading…
Reference in New Issue
Block a user