From 6bec49bd2383e4aafe56fbfd43a105627b865e27 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 17 Dec 2013 11:56:29 +0100 Subject: [PATCH] Fix invalid lock in Service::UpdateSlaveNotifications. Fixes #5354 --- lib/icinga/service-notification.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/icinga/service-notification.cpp b/lib/icinga/service-notification.cpp index 083b1d52e..eeb0d9436 100644 --- a/lib/icinga/service-notification.cpp +++ b/lib/icinga/service-notification.cpp @@ -117,7 +117,7 @@ void Service::UpdateSlaveNotifications(void) ExpressionList::Ptr exprl; { - ObjectLock ilock(exprl); + ObjectLock ilock(item); exprl = item->GetLinkedExpressionList(); } -- 2.40.0