Coverity #833: Fix a rather nasty memory leak.
This commit is contained in:
parent
a01f17d6de
commit
01ebd63301
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2006-04-02 Adam Jackson <ajax@freedesktop.org>
|
||||||
|
|
||||||
* hw/xfree86/dri/dri.c:
|
* hw/xfree86/dri/dri.c:
|
||||||
|
|
|
@ -436,10 +436,12 @@ XdmToID (unsigned short cookie_length, char *cookie)
|
||||||
{
|
{
|
||||||
xfree (client);
|
xfree (client);
|
||||||
xfree (cookie);
|
xfree (cookie);
|
||||||
|
xfree (plain);
|
||||||
return auth->id;
|
return auth->id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
xfree (cookie);
|
xfree (cookie);
|
||||||
|
xfree (plain);
|
||||||
return (XID) -1;
|
return (XID) -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user