[Xcb] xcb_disconnect() does not free all the ressources
Vincent Torri
vtorri at univ-evry.fr
Fri Aug 27 03:06:02 PDT 2010
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