- Fixed a memory leak in termLocal. This did not cause any problems for

the modelchecker, as it calls it only once, but it caused major
  problems for the arachne engine, which creates and destroys semiruns
  all the time.
This commit is contained in:
ccremers
2004-10-12 15:12:20 +00:00
parent ef34e0080e
commit 0de3320009
3 changed files with 24 additions and 1 deletions

View File

@@ -642,7 +642,7 @@ termLocal (Term t, Termlist fromlist, Termlist tolist, const int runid)
}
else
{
Term newt = termDuplicate (t);
Term newt = termNodeDuplicate (t);
if (realTermTuple (t))
{
newt->left.op1 = termLocal (t->left.op1, fromlist, tolist, runid);