From ecb2116927eecd15ff2898cb03b42ffe77cfc8e9 Mon Sep 17 00:00:00 2001 From: Murphy Berzish Date: Wed, 30 Sep 2015 05:23:22 -0400 Subject: [PATCH] fix memory corruption bug caused by invalid use of delete[] --- src/smt/theory_str.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/smt/theory_str.cpp b/src/smt/theory_str.cpp index 3458ec60c..071f07619 100644 --- a/src/smt/theory_str.cpp +++ b/src/smt/theory_str.cpp @@ -1503,8 +1503,6 @@ void theory_str::solve_concat_eq_str(expr * concat, expr * str) { } assert_implication(implyL, implyR1); } - delete[] xor_items; - delete[] and_items; } /* (arg1Len != 1 || arg2Len != 1) */ } /* if (Concat(arg1, arg2) == NULL) */ }