]> granicus.if.org Git - icinga2/commitdiff
Fix invalid lock in Service::UpdateSlaveNotifications.
authorGunnar Beutner <gunnar.beutner@netways.de>
Tue, 17 Dec 2013 10:56:29 +0000 (11:56 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Tue, 17 Dec 2013 10:56:29 +0000 (11:56 +0100)
Fixes #5354

lib/icinga/service-notification.cpp

index 083b1d52e2ce860713936bba82d200fed1c1b714..eeb0d94364719bcc26eb7dfdbd1502c2fb761e12 100644 (file)
@@ -117,7 +117,7 @@ void Service::UpdateSlaveNotifications(void)
                ExpressionList::Ptr exprl;
 
                {
-                       ObjectLock ilock(exprl);
+                       ObjectLock ilock(item);
 
                        exprl = item->GetLinkedExpressionList();
                }