]> git.unchartedbackwaters.co.uk Git - francis/stp.git/commit
Fix a couple of memory leaks that existed even if you did
authorsmccam <smccam@e59a4935-1847-0410-ae03-e826735625c1>
Fri, 13 Feb 2009 01:36:20 +0000 (01:36 +0000)
committersmccam <smccam@e59a4935-1847-0410-ae03-e826735625c1>
Fri, 13 Feb 2009 01:36:20 +0000 (01:36 +0000)
commitef28208257e631b81706cca5ca80d8a97c4faaad
treec69680410c2c111dfd782335b01f7319e14eaa5a
parenta1ced4398747fa5e89acfb496e390cb653ca3669
Fix a couple of memory leaks that existed even if you did
vc_Destroy(): make a constant table used in the bitvector code static,
and delete temporary ASTNode objects in vc_simplify. A simple
createVC, build expression, simplify, destroy loop (test included) now
can run forever without leaking.

git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@60 e59a4935-1847-0410-ae03-e826735625c1
c-api-tests/squares-leak.c [new file with mode: 0644]
c_interface/c_interface.cpp
constantbv/constantbv.cpp