1
0
mirror of https://github.com/Icinga/icinga2.git synced 2025-04-07 20:25:08 +02:00

Add missing lock in ScriptUtils::Union

fixes 
This commit is contained in:
Gunnar Beutner 2015-07-15 08:26:58 +02:00
parent 1638c44bc9
commit 46a9b30260

@ -110,6 +110,7 @@ Array::Ptr ScriptUtils::Union(const std::vector<Value>& arguments)
Array::Ptr arr = varr;
if (arr) {
ObjectLock olock(arr);
BOOST_FOREACH(const Value& value, arr) {
values.insert(value);
}