mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user