FS#23946 - [libxcb] request to apply a patch to fix memory leak

Attached to Project: Arch Linux
Opened by Michael Sierks (msierks) - Tuesday, 26 April 2011, 13:31 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 04 May 2011, 08:36 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Low
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: When using xlib a memory leak is present while opening and then closing a display. Every time this is done 124 bytes are leaked. I have noticed this issue with Arch for some time but could never determine what the problem was till I read this bug report. http://bugs.gentoo.org/show_bug.cgi?id=358249

The fix is for libxcb is located here http://cgit.freedesktop.org/xcb/libxcb/commit/?id=5755582444ad0ba79e661ab3173cc38e9e588d83

Steps to reproduce: I have attached a simple source file so that you may reproduce the problem. Using valgrind should indicate the memory leak.

   main.c (0.1 KiB)
This task depends upon

Closed by  Jan de Groot (JGC)
Wednesday, 04 May 2011, 08:36 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 1.7-2.

Loading...