Index: src/assembler.cc |
diff --git a/src/assembler.cc b/src/assembler.cc |
index 4187675f1f0cff8a042823884917be342c489d7d..d2c8bd67772faf846ae1e4f1900be1d369eca68b 100644 |
--- a/src/assembler.cc |
+++ b/src/assembler.cc |
@@ -937,8 +937,11 @@ void ExternalReference::InitializeMathExpData() { |
void ExternalReference::TearDownMathExpData() { |
delete[] math_exp_constants_array; |
+ math_exp_constants_array = NULL; |
delete[] math_exp_log_table_array; |
+ math_exp_log_table_array = NULL; |
delete math_exp_data_mutex; |
+ math_exp_data_mutex = NULL; |
} |