[Xcb] [PATCH 2/2] xcb_connect_to_display_with_auth_info: Fix memory leak

Pauli Nieminen ext-pauli.nieminen at nokia.com
Fri Jun 11 06:21:14 PDT 2010


On 11/06/10 15:13 +0200, Nieminen Pauli (EXT-Collabora/Helsinki) wrote:
> protocol and host are allocated in _xcb_parse_display but ownership of
> them is passed to the caller. They have to be freed in
> xcb_connect_to_display_with_auth_info.
> 
> Signed-off-by: Pauli Nieminen <ext-pauli.nieminen at nokia.com>
> ---
>  src/xcb_util.c |   23 +++++++++++++++--------
>  1 files changed, 15 insertions(+), 8 deletions(-)
> 

This patch has whitespace errors.


More information about the Xcb mailing list