projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c2ae1a318069376823527d79f4b19a9e8974823e
[oweals/musl.git]
/
src
/
locale
/
freelocale.c
1
#include <stdlib.h>
2
#include "locale_impl.h"
3
#include "libc.h"
4
5
int __loc_is_allocated(locale_t);
6
7
void freelocale(locale_t l)
8
{
9
if (__loc_is_allocated(l)) free(l);
10
}
11
12
weak_alias(freelocale, __freelocale);