333f6976创建于 2024年3月25日历史提交
#include <stdlib.h>
#include <unsupported_api.h>
#include "locale_impl.h"

#define malloc undef
#define calloc undef
#define realloc undef
#define free __libc_free

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

weak_alias(freelocale, __freelocale);