Bug 16507 - Server leaks in InitAndStartDevices
Summary: Server leaks in InitAndStartDevices
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-24 19:45 UTC by Ben Gamari
Modified: 2008-06-25 03:35 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Ben Gamari 2008-06-24 19:45:03 UTC
xserver leaks in InitAndStartDevices. Not a horrible leak, leaking 250k in a fairly short session.

Valgrind backtrace:

==3846== 244,188 bytes in 3,591 blocks are still reachable in loss record 140 of 145
==3846==    at 0x4A087B1: realloc (vg_replace_malloc.c:429)
==3846==    by 0x460C0E: SetMinimumEventSize (getevents.c:832)
==3846==    by 0x4481E4: EnableDevice (devices.c:257)
==3846==    by 0x44848C: InitAndStartDevices (devices.c:570)
==3846==    by 0x433E89: main (main.c:395)
Comment 1 Peter Hutterer 2008-06-25 03:35:56 UTC
Fixed in a81b5ce452766bbc4b2ac0849711284ba8591b46. Thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.