From 01ebd633017249c496f378df511586c973d49708 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Mon, 3 Apr 2006 01:43:33 +0000 Subject: Coverity #833: Fix a rather nasty memory leak. --- os/xdmauth.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'os/xdmauth.c') diff --git a/os/xdmauth.c b/os/xdmauth.c index f88d25a27..0d7691e13 100644 --- a/os/xdmauth.c +++ b/os/xdmauth.c @@ -436,10 +436,12 @@ XdmToID (unsigned short cookie_length, char *cookie) { xfree (client); xfree (cookie); + xfree (plain); return auth->id; } } xfree (cookie); + xfree (plain); return (XID) -1; } -- cgit v1.2.3