[Xcb] xcb_disconnect() does not free all the ressources

Vincent Torri vtorri at univ-evry.fr
Thu Sep 2 01:46:16 PDT 2010


no answer for that question ?

Vincent

On Fri, 27 Aug 2010, Vincent Torri wrote:

>
> Hey,
>
> Simple code (without checks):
>
>  _conn = xcb_connect(NULL, &screen);
>  xcb_disconnect(_conn);
>
> Valgrind reports some mem not freed:
>
> ==5288== 124 bytes in 1 blocks are definitely lost in loss record 1 of 1
> ==5288==    at 0x4024F20: malloc (vg_replace_malloc.c:236)
> ==5288==    by 0x403ADE2: get_peer_sock_name (xcb_auth.c:259)
> ==5288==    by 0x403AE83: _xcb_get_auth_info (xcb_auth.c:302)
> ==5288==    by 0x403A709: xcb_connect_to_display_with_auth_info 
> (xcb_util.c:424)
> ==5288==    by 0x403AA7B: xcb_connect (xcb_util.c:395)
> ==5288==    by 0x8048538: main (xcb_main.c:27)
>
> Is it normal ?
>
> Vincent
>


More information about the Xcb mailing list