fix memoy leak.
parent
ea741fd8bd
commit
50d21e08f3
|
@ -99,7 +99,8 @@ XGLImporter::XGLImporter() :
|
|||
// ------------------------------------------------------------------------------------------------
|
||||
// Destructor, private as well
|
||||
XGLImporter::~XGLImporter() {
|
||||
// empty
|
||||
delete mXmlParser;
|
||||
mXmlParser = nullptr;
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue