Actions
Bug #2301
closedInMemoryStorage incorrectly iterates over entries
Start date:
12/15/2014
Due date:
% Done:
100%
Estimated time:
Description
In a few places, the following is done in InMemoryStorage:
Cache::iterator it = m_cache.begin();
while (it != m_cache.end()) {
freeEntry(it);
it++;
}
freeEntry(it)
actually removes entry from m_cache, so it
is invalidated and it++
doesn't make sense anymore.
Actions