forked from OSchip/llvm-project
parent
2edd9709c6
commit
dd6a025986
|
@ -1393,7 +1393,7 @@ codecvt<wchar_t, char, mbstate_t>::codecvt(const char* nm, size_t refs)
|
|||
|
||||
codecvt<wchar_t, char, mbstate_t>::~codecvt()
|
||||
{
|
||||
if (__l != 0)
|
||||
if (__l != _LIBCPP_GET_C_LOCALE)
|
||||
freelocale(__l);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue