On 12/29/10 11:27 AM, Pauli wrote:
> From: Pauli Nieminen <[email protected]>
> 
> Signed-off-by: Pauli Nieminen <[email protected]>
> ---
>  os/access.c |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
> 
> diff --git a/os/access.c b/os/access.c
> index d43fdf8..494986e 100644
> --- a/os/access.c
> +++ b/os/access.c
> @@ -1057,8 +1057,10 @@ Bool LocalClient(ClientPtr client)
>       }
>       for (host = selfhosts; host; host = host->next)
>       {
> -         if (addrEqual (family, addr, alen, host))
> +         if (addrEqual (family, addr, alen, host)) {
> +             free(from);
>               return TRUE;
> +         }
>       }
>       free(from);
>      }

Reviewed-by: Alan Coopersmith <[email protected]>

-- 
        -Alan Coopersmith-        [email protected]
         Oracle Solaris Platform Engineering: X Window System

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to