mirror of https://github.com/Icinga/icinga2.git
Fix minor memory leak in the config parser
This commit is contained in:
parent
d60211d693
commit
3cb2afd454
|
@ -646,6 +646,12 @@ public:
|
|||
: DebuggableExpression(debugInfo), m_Indexer(indexer)
|
||||
{ }
|
||||
|
||||
~IndexerExpression(void)
|
||||
{
|
||||
BOOST_FOREACH(Expression *expr, m_Indexer)
|
||||
delete expr;
|
||||
}
|
||||
|
||||
protected:
|
||||
virtual Value DoEvaluate(VMFrame& frame, DebugHint *dhint) const;
|
||||
|
||||
|
|
Loading…
Reference in New Issue