sync with sylpheed 0.5.3cvs9
[claws.git] / intl / dcigettext.c
index 8456550d03bb243928713b655342222370b82979..b7627bf611cd01abe9da98f7a5d8aed68599690f 100644 (file)
@@ -517,6 +517,7 @@ DCIGETTEXT (domainname, msgid1, msgid2, plural, n, category)
          /* We cannot get the current working directory.  Don't signal an
             error but simply return the default string.  */
          FREE_BLOCKS (block_list);
+         __libc_rwlock_unlock (_nl_state_lock);
          __set_errno (saved_errno);
          return (plural == 0
                  ? (char *) msgid1