Sign in
cobalt
/
cobalt
/
b95ea55ccebda33f820d043e4b4dc85c10d7584d
/
.
/
third_party
/
musl
/
src
/
locale
/
freelocale.c
blob: c2ae1a318069376823527d79f4b19a9e8974823e [
file
] [
log
] [
blame
]
#include
<stdlib.h>
#include
"locale_impl.h"
#include
"libc.h"
int
__loc_is_allocated
(
locale_t
);
void
freelocale
(
locale_t
l
)
{
if
(
__loc_is_allocated
(
l
))
free
(
l
);
}
weak_alias
(
freelocale
,
__freelocale
);