mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-24 23:00:05 +01:00
Coverity #833: Fix a rather nasty memory leak.
This commit is contained in:
parent
c01c1588b6
commit
a9585b9b6b
2 changed files with 7 additions and 0 deletions
|
|
@ -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>
|
||||
|
||||
* 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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue