projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a85d364
)
Don't free the C locale on NetBSD.
author
Joerg Sonnenberger
<joerg@bec.de>
Tue, 2 Jul 2013 19:46:18 +0000
(19:46 +0000)
committer
Joerg Sonnenberger
<joerg@bec.de>
Tue, 2 Jul 2013 19:46:18 +0000
(19:46 +0000)
llvm-svn: 185467
libcxx/src/locale.cpp
patch
|
blob
|
history
diff --git
a/libcxx/src/locale.cpp
b/libcxx/src/locale.cpp
index 79cb5c92d480cacdff47cb3c83b67a6acc2728a6..b15f077cfb12deb892f0dc1ebab1a0d307465940 100644
(file)
--- 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_);
}