From 8fc92d8a085147423293599c27646166682db87c Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 25 Aug 2015 17:19:31 +0200 Subject: [PATCH] Fix crash in ConfigItem::CommitNewItems refs #9096 --- lib/config/configitem.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/config/configitem.cpp b/lib/config/configitem.cpp index 42b82fa3f..f8c4d573a 100644 --- a/lib/config/configitem.cpp +++ b/lib/config/configitem.cpp @@ -292,6 +292,7 @@ void ConfigItem::Unregister(void) boost::mutex::scoped_lock lock(m_Mutex); m_UnnamedItems.erase(std::remove(m_UnnamedItems.begin(), m_UnnamedItems.end(), this), m_UnnamedItems.end()); m_Items[m_Type].erase(m_Name); + m_CommittedItems.erase(std::remove(m_CommittedItems.begin(), m_CommittedItems.end(), this), m_CommittedItems.end()); } /** -- 2.40.0