diff options
author | Nick Bowler <nbowler@draconx.ca> | 2010-11-10 20:49:41 -0500 |
---|---|---|
committer | Julien Danjou <julien@danjou.info> | 2010-11-23 14:58:48 +0100 |
commit | 5755582444ad0ba79e661ab3173cc38e9e588d83 (patch) | |
tree | 02674425c8465c75b313be1b461656786e087b77 /xcb-shape.pc.in | |
parent | 1c4717de367fe3bf1cf56bd8ef2bd30586bed023 (diff) |
xcb_auth: Fix memory leak in _xcb_get_auth_info.
If the initial get_peer_sock_name(getpeername ...) succeeds, the
pointer to allocated memory is overwritten by the later call to
get_peer_sock_name(getsockname ...). Fix that up by freeing
the allocated memory before overwriting the pointer.
Signed-off-by: Nick Bowler <nbowler@draconx.ca>
Signed-off-by: Julien Danjou <julien@danjou.info>
Diffstat (limited to 'xcb-shape.pc.in')
0 files changed, 0 insertions, 0 deletions