Commit 01ebd633 authored by Adam Jackson's avatar Adam Jackson 💣

Coverity #833: Fix a rather nasty memory leak.

parent a01f17d6
2006-04-02 Adam Jackson <ajax@freedesktop.org>
* os/xdmauth.c:
Coverity #833: Fix a rather nasty memory leak.
2006-04-02 Adam Jackson <ajax@freedesktop.org>
* hw/xfree86/dri/dri.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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment