fix for possible leak in the expression controller find identifier.
This commit is contained in:
parent
59cdb0d65d
commit
fc618bbcbf
|
@ -141,6 +141,7 @@ CValue* SCA_ExpressionController::FindIdentifier(const STR_String& identifiernam
|
|||
{
|
||||
identifierval = new CBoolValue(sensor->GetState());
|
||||
//identifierval = sensor->AddRef();
|
||||
break;
|
||||
}
|
||||
|
||||
//if (!sensor->IsPositiveTrigger())
|
||||
|
|
Loading…
Reference in New Issue