diff options
Diffstat (limited to 'libcxx/src')
-rw-r--r-- | libcxx/src/locale.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/locale.cpp b/libcxx/src/locale.cpp index 79cb5c92d48..b15f077cfb1 100644 --- a/libcxx/src/locale.cpp +++ b/libcxx/src/locale.cpp @@ -5340,7 +5340,7 @@ __time_put::__time_put(const string& nm) __time_put::~__time_put() { - if (__loc_) + if (__loc_ != _LIBCPP_GET_C_LOCALE) freelocale(__loc_); } |