MCPcopy Create free account
hub / github.com/diasurgical/devilution / BlockStream_Close

Function BlockStream_Close

3rdParty/StormLib/src/FileStream.cpp:982–991  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

980}
981
982static void BlockStream_Close(TBlockStream * pStream)
983{
984 // Free the data map, if any
985 if(pStream->FileBitmap != NULL)
986 STORM_FREE(pStream->FileBitmap);
987 pStream->FileBitmap = NULL;
988
989 // Call the base class for closing the stream
990 pStream->BaseClose(pStream);
991}
992
993//-----------------------------------------------------------------------------
994// File stream allocation function

Callers 2

FlatStream_CloseFunction · 0.85
PartStream_CloseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected