mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-22 05:04:30 +02:00
parent
0efab37e72
commit
23330150f4
@ -640,8 +640,12 @@ bool IndexerExpression::GetReference(ScriptFrame& frame, bool init_dict, Value *
|
||||
ExpressionResult operand2 = m_Operand2->Evaluate(frame);
|
||||
*index = operand2.GetValue();
|
||||
|
||||
if (dhint && psdhint)
|
||||
*dhint = new DebugHint(psdhint->GetChild(*index));
|
||||
if (dhint) {
|
||||
if (psdhint)
|
||||
*dhint = new DebugHint(psdhint->GetChild(*index));
|
||||
else
|
||||
*dhint = NULL;
|
||||
}
|
||||
|
||||
if (free_psd)
|
||||
delete psdhint;
|
||||
|
Loading…
x
Reference in New Issue
Block a user