Fix missing object lock in ExternalCommandProcessor::RemoveSvcAcknowledgement().

This commit is contained in:
Michael Friedrich 2013-10-19 00:17:28 +02:00
parent 82abf427a5
commit 886b1c8dd7
1 changed files with 1 additions and 0 deletions

View File

@ -632,6 +632,7 @@ void ExternalCommandProcessor::RemoveSvcAcknowledgement(double, const std::vecto
Log(LogInformation, "icinga", "Removing acknowledgement for service '" + service->GetName() + "'");
ObjectLock olock(service);
service->ClearAcknowledgement();
}