bignum should always reset pre_alloc_base and recover Heap space
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@158 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -53,6 +53,13 @@ PreAllocBigNum(void)
|
||||
return(ret);
|
||||
}
|
||||
|
||||
void
|
||||
CleanBigNum(void)
|
||||
{
|
||||
H = pre_alloc_base;
|
||||
pre_alloc_base = NULL;
|
||||
}
|
||||
|
||||
MP_INT *
|
||||
InitBigNum(Int in)
|
||||
{
|
||||
|
Reference in New Issue
Block a user