OpenGEXImporter: Fix IOStream leak
parent
22b55d01a2
commit
775f984d99
|
@ -307,6 +307,7 @@ void OpenGEXImporter::InternReadFile( const std::string &filename, aiScene *pSce
|
|||
|
||||
std::vector<char> buffer;
|
||||
TextFileToBuffer( file, buffer );
|
||||
pIOHandler->Close( file );
|
||||
|
||||
OpenDDLParser myParser;
|
||||
myParser.setBuffer( &buffer[ 0 ], buffer.size() );
|
||||
|
|
Loading…
Reference in New Issue