Core/MMaps: Removed an incorrect call to GetHeight

Tools/MeshExtractor: Fixed a crash caused by calling fclose in a NULL stream
This commit is contained in:
Subv committed 2012-09-29 16:19:33 -05:00
1 parent 987436ceea
commit 5c9e917e5e
2 files changed
+3 -6

No files matched your search

+2 -1
View File
@@ -68,5 +68,6 @@ ChunkedData::~ChunkedData()
delete *itr;
Chunks.clear();
fclose(Stream);
if (Stream)
fclose(Stream);
}