win: Fix leaking of fd when reading file in asar

This commit is contained in:
Cheng Zhao 2015-09-24 12:11:07 +08:00
parent 9b1fa04988
commit 9e90ea8734
2 changed files with 10 additions and 11 deletions

View file

@ -69,6 +69,7 @@ class Archive {
private:
base::FilePath path_;
base::File file_;
int fd_;
uint32 header_size_;
scoped_ptr<base::DictionaryValue> header_;