mirror of
https://github.com/Icinga/icinga2.git
synced 2025-06-09 16:20:24 +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)
|
: DebuggableExpression(debugInfo), m_Indexer(indexer)
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
|
~IndexerExpression(void)
|
||||||
|
{
|
||||||
|
BOOST_FOREACH(Expression *expr, m_Indexer)
|
||||||
|
delete expr;
|
||||||
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual Value DoEvaluate(VMFrame& frame, DebugHint *dhint) const;
|
virtual Value DoEvaluate(VMFrame& frame, DebugHint *dhint) const;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user