summaryrefslogtreecommitdiffstats
path: root/src/bfstd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bfstd.c')
-rw-r--r--src/bfstd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bfstd.c b/src/bfstd.c
index ace9ed2..cdc33f1 100644
--- a/src/bfstd.c
+++ b/src/bfstd.c
@@ -302,10 +302,10 @@ const char *xstrerror(int errnum) {
if (copy != (locale_t)0) {
ret = strerror_l(errnum, copy);
- }
- if (loc == LC_GLOBAL_LOCALE) {
- freelocale(copy);
+ if (loc == LC_GLOBAL_LOCALE) {
+ freelocale(copy);
+ }
}
#endif