Ensure we close FD on Windows

This commit is contained in:
Ivo Georgiev 2016-01-15 16:54:29 +02:00
parent 233e2d7288
commit 7586078d0a

View file

@ -129,6 +129,9 @@ Archive::Archive(const base::FilePath& path)
}
Archive::~Archive() {
#if defined(OS_WIN)
_close(fd_)
#endif
}
bool Archive::Init() {