mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Fix memory leak in FileScanner
This commit is contained in:
@@ -311,7 +311,9 @@ protected:
|
||||
DirectoryChild child = CreateChild(path, node);
|
||||
children.push_back(child);
|
||||
}
|
||||
free(namelist[i]);
|
||||
}
|
||||
free(namelist);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user