hi,
can you provide a simple program does needs the patch to work ?

re,
 wh

Am 10.08.2017 23:04, schrieb Jacek Caban:
> Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=55678
> Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68538
> Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=69088
> Signed-off-by: Jacek Caban <ja...@codeweavers.com>
> ---
>  src/xlibi18n/lcWrap.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/src/xlibi18n/lcWrap.c b/src/xlibi18n/lcWrap.c
> index 38242608..43b4d622 100644
> --- a/src/xlibi18n/lcWrap.c
> +++ b/src/xlibi18n/lcWrap.c
> @@ -324,6 +324,8 @@ _XCloseLC(
>  {
>      XLCdList cur, *prev;
>  +    _XLockMutex(_Xi18n_lock);
> +
>      for (prev = &lcd_list; (cur = *prev); prev = &cur->next) {
>       if (cur->lcd == lcd) {
>           if (--cur->ref_count < 1) {
> @@ -339,6 +341,8 @@ _XCloseLC(
>       _XlcDeInitLoader();
>       loader_list = NULL;
>      }
> +
> +    _XUnlockMutex(_Xi18n_lock);
>  }
>   /*
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to