only use memcpy realloc to shrink if an exact-sized free chunk exists
[oweals/musl.git] / src / locale / freelocale.c
1 #include <stdlib.h>
2 #include "locale_impl.h"
3
4 void freelocale(locale_t l)
5 {
6         if (__loc_is_allocated(l)) free(l);
7 }
8
9 weak_alias(freelocale, __freelocale);