1 #include <stdlib.h> 2 #include <unsupported_api.h> 3 #include "locale_impl.h" 4 freelocale(locale_t l)5void freelocale(locale_t l) 6 { 7 unsupported_api(__FUNCTION__); 8 if (__loc_is_allocated(l)) free(l); 9 } 10 11 weak_alias(freelocale, __freelocale); 12