[Xcb] [PATCH libxcb] xcb_auth: Fix memory leak in _xcb_get_auth_info.

Julien Danjou julien at danjou.info
Tue Nov 23 05:59:00 PST 2010


On Thu, Nov 11 2010, Nick Bowler wrote:

> 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.

Thanks, pushed.

-- 
Julien Danjou
// ᐰ <julien at danjou.info>   http://julien.danjou.info


More information about the Xcb mailing list