mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Fix nullptr posibility in ProcessEvent
This commit is contained in:
parent
948333225d
commit
64ffe4f840
@ -41,7 +41,7 @@ void EventQueue::ProcessEvent(const Dictionary::Ptr& event)
|
||||
frame.Sandboxed = true;
|
||||
|
||||
try {
|
||||
if (!FilterUtility::EvaluateFilter(frame, &*m_Filter, event, "event"))
|
||||
if (!FilterUtility::EvaluateFilter(frame, m_Filter.get(), event, "event"))
|
||||
return;
|
||||
} catch (const std::exception& ex) {
|
||||
Log(LogWarning, "EventQueue")
|
||||
|
Loading…
x
Reference in New Issue
Block a user