From 64ffe4f840a37cfaa63e844190c1d4ac074ffbc4 Mon Sep 17 00:00:00 2001 From: Noah Hilverling Date: Wed, 7 Feb 2018 14:24:06 +0100 Subject: [PATCH] Fix nullptr posibility in ProcessEvent --- lib/remote/eventqueue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/remote/eventqueue.cpp b/lib/remote/eventqueue.cpp index 80fd16059..756c9b9a8 100644 --- a/lib/remote/eventqueue.cpp +++ b/lib/remote/eventqueue.cpp @@ -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") -- 2.50.1