win: Fix leaking of fd when reading file in asar
This commit is contained in:
parent
9b1fa04988
commit
9e90ea8734
2 changed files with 10 additions and 11 deletions
|
@ -69,6 +69,7 @@ class Archive {
|
|||
private:
|
||||
base::FilePath path_;
|
||||
base::File file_;
|
||||
int fd_;
|
||||
uint32 header_size_;
|
||||
scoped_ptr<base::DictionaryValue> header_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue