blob: b4e9f6c2932d3e11e715571b6a585fa2dd0fc17a [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);