| Summary: | Memory leak in Xcursor | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | xorg | Reporter: | Kyle Bateman <kyle> | ||||||||||
| Component: | Lib/Xcursor | Assignee: | Keith Packard <keithp> | ||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||
| Severity: | major | ||||||||||||
| Priority: | high | ||||||||||||
| Version: | unspecified | ||||||||||||
| Hardware: | x86 (IA32) | ||||||||||||
| OS: | Linux (All) | ||||||||||||
| Whiteboard: | |||||||||||||
| i915 platform: | i915 features: | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Kyle Bateman
2005-03-14 21:23:11 UTC
Created attachment 2109 [details]
Demonstrates leak
Created attachment 2110 [details]
Another demo script
Created attachment 2111 [details]
Another demo script
Created attachment 8286 [details] [review] Fix 3 leaks triggered by the testcase and GTK+ commit 073eb2c56f4794275eee40a825dbfe1232bb2690 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Fri Apr 1 12:14:51 2011 +0100 Free list on shutdown. We freed the parent structure without freeing the list contained within, making valgrind unhappy. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> commit f49e7e1608f2dac140f60bcae21d5c37f79fc41b Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Fri Apr 1 12:15:46 2011 +0100 Free the partial header after failing to open the cursor. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> commit bee68e54e5c3a4b9f46c81366a720531e3e07a82 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Fri Apr 1 12:16:23 2011 +0100 Free the FontInfo structure after loading the cursor from it. References: https://bugs.freedesktop.org/show_bug.cgi?id=2731 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> |
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.