mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-08 07:09:21 +00:00
Fix core subsystem logic and safety bugs @Sirus20x6
This commit is contained in:
@@ -20,7 +20,9 @@ Directory::is_valid() const {
|
||||
return false;
|
||||
|
||||
DIR* d = opendir(expand_path(m_path).c_str());
|
||||
closedir(d);
|
||||
|
||||
if (d != NULL)
|
||||
closedir(d);
|
||||
|
||||
return d;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user