Don't free the C locale on NetBSD.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@185467 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4573565de0
commit
9a06b9d017
@ -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_);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user