Skip to content

Commit

Permalink
Fix crash in ConfigItem::ActivateItems
Browse files Browse the repository at this point in the history
refs #10643
  • Loading branch information
Michael Friedrich committed Nov 23, 2015
1 parent 5f22076 commit d0545c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config/configitem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ bool ConfigItem::ActivateItems(WorkQueue& upq, const std::vector<ConfigItem::Ptr
BOOST_FOREACH(const ConfigItem::Ptr& item, newItems) {
ConfigObject::Ptr object = item->m_Object;

if (item->m_Abstract)
if (!object)
continue;

ASSERT(object && object->IsActive());
Expand Down

0 comments on commit d0545c4

Please sign in to comment.