same problem: double free on bignums
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1523 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
3f20b8d418
commit
1c77e3cf32
@ -132,7 +132,6 @@ Yap_MkULLIntTerm(YAP_ULONG_LONG n)
|
|||||||
return MkIntegerTerm(mpz_get_si(new));
|
return MkIntegerTerm(mpz_get_si(new));
|
||||||
}
|
}
|
||||||
t = Yap_MkBigIntTerm(new);
|
t = Yap_MkBigIntTerm(new);
|
||||||
mpz_clear(new);
|
|
||||||
return t;
|
return t;
|
||||||
#else
|
#else
|
||||||
return MkIntegerTerm(n);
|
return MkIntegerTerm(n);
|
||||||
|
Reference in New Issue
Block a user