git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2061 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2008-01-24 22:47:14 +00:00
parent 82508f287b
commit fd6b87e5cf
2 changed files with 5 additions and 2 deletions

View File

@@ -2410,7 +2410,7 @@ sweep_trail(choiceptr gc_B, tr_fr_ptr old_TR)
gc may be called when executing a dynamic goal,
check PP to avoid deadlock
*/
PredEntry *ap = cl->ClPred;
PredEntry *ap = indx->ClPred;
if (ap != PP)
LOCK(ap->PELock);
#endif