diff options
author | Adam Jackson <ajax@nwnk.net> | 2006-04-03 01:43:33 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2006-04-03 01:43:33 +0000 |
commit | 01ebd633017249c496f378df511586c973d49708 (patch) | |
tree | 3c814a86b2a60d8782469722f4593a2976675844 /os/xdmauth.c | |
parent | a01f17d6dec02f80144e108f748783cb4e429ebb (diff) |
Coverity #833: Fix a rather nasty memory leak.
Diffstat (limited to 'os/xdmauth.c')
-rw-r--r-- | os/xdmauth.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |