avoid sideffects from MkBigInt
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1524 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -101,6 +101,7 @@ EvalToTerm(blob_type f, union arith_ret *res)
|
||||
case big_int_e:
|
||||
{
|
||||
Term t = Yap_MkBigIntTerm(res->big);
|
||||
mpz_clear(res->big);
|
||||
return t;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user