Browse Source

Don't leak file descriptors.

pull/13/head
Jeff Young 7 years ago
parent
commit
bc2481a9be
  1. 2
      common/common.cpp

2
common/common.cpp

@ -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

Loading…
Cancel
Save