Skip to content

Commit

Permalink
Merge pull request #42196 from Calinou/fix-file-access-zip-crash
Browse files Browse the repository at this point in the history
Fix crash when opening a ZIP data pack
  • Loading branch information
akien-mga authored Sep 23, 2020
2 parents cadba26 + 0b65342 commit bb2466b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/io/file_access_zip.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class ZipArchive : public PackSource {
};

class FileAccessZip : public FileAccess {
unzFile zfile;
unzFile zfile = nullptr;
unz_file_info64 file_info;

mutable bool at_eof;
Expand Down

0 comments on commit bb2466b

Please sign in to comment.