Don't leak file descriptors.

This commit is contained in:
Jeff Young 2018-08-21 18:50:55 +01:00
parent 0305d9143d
commit bc2481a9be
1 changed files with 2 additions and 0 deletions

View File

@ -815,6 +815,8 @@ long long TimestampDir( const wxString& aDirPath, const wxString& aFilespec )
if( S_ISREG( entry_stat.st_mode ) ) // wxFileExists()
timestamp += entry_stat.st_mtime * 1000;
}
closedir( dir );
}
#endif