From 656f02ce5b080fa4dfdd7c6f0ee52aa30b94c880 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 13 Oct 2007 17:06:29 +0000 Subject: * intl/dcigettext.c (_nl_find_msg): Unlock the conversions_lock when we cannot recode the message. --- intl/dcigettext.c | 1 + 1 file changed, 1 insertion(+) (limited to 'intl/dcigettext.c') diff --git a/intl/dcigettext.c b/intl/dcigettext.c index 55dcaab..a2cd801 100644 --- a/intl/dcigettext.c +++ b/intl/dcigettext.c @@ -974,6 +974,7 @@ _nl_find_msg (domain_file, domainbinding, msgid, convert, lengthp) translation at all. */ if (__builtin_expect (r != __GCONV_NULCONV, 1)) { + __libc_rwlock_unlock (domain->conversions_lock); free ((char *) encoding); return NULL; } -- cgit v1.1