aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/nls
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2015-02-10 20:45:40 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2015-02-10 20:45:40 +0000
commit1bb3a25f074c28e4f068cd9e8512eff694834fc3 (patch)
tree9c7d26d555c268f9cb1c2949fc50220fbc24b0c1 /lib/libc/nls
parentfcb560670601b2a4d87bb31d7531c8dcc37ee71b (diff)
Notes
Diffstat (limited to 'lib/libc/nls')
-rw-r--r--lib/libc/nls/msgcat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/nls/msgcat.c b/lib/libc/nls/msgcat.c
index 2859916fd8fd6..0cba460403b3a 100644
--- a/lib/libc/nls/msgcat.c
+++ b/lib/libc/nls/msgcat.c
@@ -83,6 +83,7 @@ __FBSDID("$FreeBSD$");
np->name = strdup(n); \
np->path = NULL; \
np->catd = NLERR; \
+ np->refcount = 0; \
np->lang = (l == NULL) ? NULL : \
strdup(l); \
np->caterrno = e; \