fixed issue noticed for racedrivpan (nw)

This commit is contained in:
Miodrag Milanovic 2016-02-28 17:41:29 +01:00
parent 208fbb7ddd
commit a0d2d660bf

View File

@ -389,7 +389,7 @@ public:
}
// search next for neighbors up the ownership chain
while (m_curdepth > 0)
while (m_curdepth > 0 && start != nullptr)
{
// found a neighbor? great!
m_current = start->next();