Fix missing lock in ConfigUpdateHandler()

This commit is contained in:
Michael Friedrich 2014-12-01 13:18:46 +01:00
parent 1c07f5111a
commit a07600a469
1 changed files with 1 additions and 0 deletions

View File

@ -213,6 +213,7 @@ Value ApiListener::ConfigUpdateHandler(const MessageOrigin& origin, const Dictio
bool configChange = false;
ObjectLock olock(update);
BOOST_FOREACH(const Dictionary::Pair& kv, update) {
Zone::Ptr zone = Zone::GetByName(kv.first);