mirror of
https://github.com/Icinga/icinga2.git
synced 2026-06-08 00:02:49 -04:00
Fix minor memory leak in the config parser
This commit is contained in:
parent
d60211d693
commit
3cb2afd454
1 changed files with 6 additions and 0 deletions
|
|
@ -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 a new issue