Commits

David Rogers committed 9bfba57

Close the file handle when creating a zip stream.

  • Participants
  • Parent commits b6d2b8a
  • Branches v1-8

Comments (0)

Files changed (1)

File OgreMain/src/OgreDeflate.cpp

 		assert(ret == Z_STREAM_END);        /* stream will be complete */
 		
 		deflateEnd(mZStream);
-				
+
+        inFile.close();
 		remove(mTempFileName.c_str());
 						
 	}