From: trevor_hansen Date: Wed, 7 Jul 2010 13:33:08 +0000 (+0000) Subject: Bugfix. Remove a null pointer reference. X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=77feab3fa1dc1d547f725c3e1e01c0fd15a9e069;p=francis%2Fstp.git Bugfix. Remove a null pointer reference. git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@936 e59a4935-1847-0410-ae03-e826735625c1 --- diff --git a/src/to-sat/AIG/ToSATAIG.cpp b/src/to-sat/AIG/ToSATAIG.cpp index 88c21df..3adf1e9 100644 --- a/src/to-sat/AIG/ToSATAIG.cpp +++ b/src/to-sat/AIG/ToSATAIG.cpp @@ -41,7 +41,8 @@ namespace BEEV */ //Clear out all the constant bit stuff before sending the SAT. - cb->clearTables(); + if (cb != NULL) + cb->clearTables(); bm->GetRunTimes()->start(RunTimes::SendingToSAT);