don't continue looping through ioctl compat_map after finding match
[musl] / 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);