[PATCH:xdm 2/2] freeifaddrs() when done with it in DefineSelf()

Alan Coopersmith alan.coopersmith at oracle.com
Mon May 16 17:52:37 PDT 2011


Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 xdm/auth.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/xdm/auth.c b/xdm/auth.c
index 8b6e1ec..bbca167 100644
--- a/xdm/auth.c
+++ b/xdm/auth.c
@@ -851,6 +851,7 @@ DefineSelf(int fd, FILE *file, Xauth *auth)
 # endif
 	writeAddr(family, len, addr, file, auth);
     }
+    freeifaddrs(ifap);
     Debug("DefineSelf done\n");
 }
 #else  /* GETIFADDRS */
-- 
1.7.3.2



More information about the xorg-devel mailing list