- 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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user