about summary refs log tree commit diff
path: root/src/locale/freelocale.c
blob: 802b8bfe1c72458d8def7c505df0c022d026b1f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
#include <stdlib.h>
#include "locale_impl.h"

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

weak_alias(freelocale, __freelocale);