Fix backpointer scan in search tool.

develop
Petr Mrázek 2010-11-19 06:37:36 +01:00
parent 8439b3fa7d
commit 30d806d988
1 changed files with 2 additions and 0 deletions

@ -595,6 +595,7 @@ void PtrTrace(DFHack::ContextManager & DFMgr, vector <DFHack::t_memrange>& range
check.insert(select); check.insert(select);
// ascend // ascend
select = found[0]; select = found[0];
found.clear();
} }
DF->Detach(); DF->Detach();
} }
@ -664,6 +665,7 @@ void DataPtrTrace(DFHack::ContextManager & DFMgr, vector <DFHack::t_memrange>& r
check.insert(select); check.insert(select);
// ascend // ascend
select = found[0]; select = found[0];
found.clear();
} }
DF->Detach(); DF->Detach();
} }