fix memoy leak.

pull/2966/head
Kim Kulling 2020-09-30 12:05:32 +02:00 committed by GitHub
parent ea741fd8bd
commit 50d21e08f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -99,7 +99,8 @@ XGLImporter::XGLImporter() :
// ------------------------------------------------------------------------------------------------
// Destructor, private as well
XGLImporter::~XGLImporter() {
// empty
delete mXmlParser;
mXmlParser = nullptr;
}
// ------------------------------------------------------------------------------------------------