diff options
| author | Fabio Battaglia | 2010-02-28 14:40:40 +0000 |
|---|---|---|
| committer | Fabio Battaglia | 2010-02-28 14:40:40 +0000 |
| commit | 23cf40db2b0e3aff19310ce2ed57f8ded44e51bf (patch) | |
| tree | 2a301041b008e44cfb023d99c7cc18f46c761532 | |
| parent | d1e7fcbe757555b2d19684e378625ec6bb34afb9 (diff) | |
| download | scummvm-rg350-23cf40db2b0e3aff19310ce2ed57f8ded44e51bf.tar.gz scummvm-rg350-23cf40db2b0e3aff19310ce2ed57f8ded44e51bf.tar.bz2 scummvm-rg350-23cf40db2b0e3aff19310ce2ed57f8ded44e51bf.zip | |
Add a comment to document my removal of stream delete in previous commit
svn-id: r48155
| -rw-r--r-- | common/unzip.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/unzip.cpp b/common/unzip.cpp index 9f90c9d417..a83f70d671 100644 --- a/common/unzip.cpp +++ b/common/unzip.cpp @@ -1458,6 +1458,8 @@ Archive *makeZipArchive(SeekableReadStream *stream) { return 0; unzFile zipFile = unzOpen(stream); if (!zipFile) { + // stream gets deleted by unzOpen() call if something + // goes wrong. return 0; } return new ZipArchive(zipFile); |
