From 77feab3fa1dc1d547f725c3e1e01c0fd15a9e069 Mon Sep 17 00:00:00 2001 From: trevor_hansen Date: Wed, 7 Jul 2010 13:33:08 +0000 Subject: [PATCH] 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 --- src/to-sat/AIG/ToSATAIG.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.47.3