]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Tweak last patch to be closer to the glibc sources.
authorBruno Haible <bruno@clisp.org>
Sun, 14 Oct 2007 15:58:47 +0000 (15:58 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:15:17 +0000 (12:15 +0200)
gettext-runtime/intl/dcigettext.c

index 6fc50c6075a9d6936568e1ea79b760c23f4cda9d..b172bec276352232df4813c012162cf359aaece9 100644 (file)
@@ -1134,8 +1134,8 @@ _nl_find_msg (struct loaded_l10nfile *domain_file,
                           translation at all.  */
                        if (__builtin_expect (r != __GCONV_NULCONV, 1))
                          {
-                           free ((char *) encoding);
                            gl_rwlock_unlock (domain->conversions_lock);
+                           free ((char *) encoding);
                            return NULL;
                          }