PVS: V773 A memory leak is possible

This commit is contained in:
wmayer
2019-02-17 19:17:02 +01:00
parent e23db2e313
commit c6f766da03

View File

@@ -739,6 +739,8 @@ MacroCommand::~MacroCommand()
{
free(const_cast<char*>(sName));
sName = 0;
free(const_cast<char*>(sScriptName));
sScriptName = 0;
}
void MacroCommand::activated(int iMsg)