From: Pauli Nieminen <[email protected]>

Signed-off-by: Pauli Nieminen <[email protected]>
Reviewed-by: Alan Coopersmith <[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);
     }
-- 
1.7.0.4

_______________________________________________
[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