Don't try to free the C locale.

llvm-svn: 181559
This commit is contained in:
Joerg Sonnenberger 2013-05-09 23:06:35 +00:00
parent 2edd9709c6
commit dd6a025986
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}