summaryrefslogtreecommitdiff
path: root/src/locale/freelocale.c
blob: e75acd66ae03b305f95ad6a1cc3cff3be3e5e3ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include <stdlib.h>
#include "locale_impl.h"
#include "libc.h"

void freelocale(locale_t l)
{
	if (__loc_is_allocated(l)) free(l);
}

weak_alias(freelocale, __freelocale);