Delete the waitTillSet when destroying the class

This commit is contained in:
smallmodel 2025-02-18 21:52:35 +01:00
parent 854c1980cc
commit 758176dd32
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -409,6 +409,11 @@ ClassDef::~ClassDef()
delete[] responseLookup;
responseLookup = NULL;
}
#ifdef WITH_SCRIPT_ENGINE
if (waitTillSet) {
delete waitTillSet;
}
#endif
}
#ifdef WITH_SCRIPT_ENGINE