From 6b36c9a7c67082491c950838fd1cf65713cf5d9b Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Fri, 23 Oct 2015 13:07:04 +0100 Subject: [PATCH] Fix valgrind detected issues --- test/regress/test_locale.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/regress/test_locale.cpp b/test/regress/test_locale.cpp index f1a6fa21..13aa85b9 100644 --- a/test/regress/test_locale.cpp +++ b/test/regress/test_locale.cpp @@ -64,6 +64,8 @@ test_locale::test_locale(const char* c_name, boost::uint32_t lcid) std::cout << "The C++ locale: " << c_name << " is not available and will not be tested." << std::endl; } #else + m_old_cpp_locale = s_cpp_locale_inst; + m_old_cpp_state = s_cpp_locale; s_cpp_locale = no_test; #endif