projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix error checking in pthread_getname_np
[musl]
/
src
/
locale
/
freelocale.c
1
#include <stdlib.h>
2
#include "locale_impl.h"
3
4
#define malloc undef
5
#define calloc undef
6
#define realloc undef
7
#define free __libc_free
8
9
void freelocale(locale_t l)
10
{
11
if (__loc_is_allocated(l)) free(l);
12
}
13
14
weak_alias(freelocale, __freelocale);