Fix broker data stores in absence of --enable-debug.

Oops, put too much inside the assert() macro, so the registering of data
stores got preprocessed out of optimized builds.
This commit is contained in:
Jon Siwek 2015-03-10 13:22:39 -05:00
parent 867c4379ea
commit cb5902d1ad
5 changed files with 18 additions and 5 deletions

View file

@ -1038,6 +1038,7 @@ bool bro_broker::Manager::CloseStore(const broker::store::identifier& id,
delete it->second->store;
it->second->store = nullptr;
Unref(it->second);
data_stores.erase(it);
return true;
}