[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: [PATCH libXfont] fix dirfd leak on CatalogueRescan()
From:       "=?UTF-8?Q?Kristian_H=C3=B8gsberg?=" <krh () bitplanet ! net>
Date:       2007-07-30 18:36:33
Message-ID: 59ad55d30707301136n5e80dec2l3a9340d110177bdb () mail ! gmail ! com
[Download RAW message or body]

Thanks, applied.

On 7/10/07, Ademar de Souza Reis Jr <ademar@mandriva.com.br> wrote:
> ---
>  src/fontfile/catalogue.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/src/fontfile/catalogue.c b/src/fontfile/catalogue.c
> index 812b050..2a65e86 100644
> --- a/src/fontfile/catalogue.c
> +++ b/src/fontfile/catalogue.c
> @@ -206,6 +206,8 @@ CatalogueRescan (FontPathElementPtr fpe)
>         }
>      }
>
> +    closedir(dir);
> +
>      qsort(cat->fpeList,
>           cat->fpeCount, sizeof cat->fpeList[0], ComparePriority);
>
> --
> 1.5.2.2
>
>
_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic