libdrm: patch for drmClose memory leak

2008-05-08 Thread Bastian, Waldo
Reported this on April 11 but didn't get any response,
so I'm just trying again :-)

Valgrind complains about drmHashTable staying around. It's ironic because in my 
application drmClose creates the hash table and creates an entry for no other 
purpose than to delete the entry. So my first patch is libdrm_drmclose.patch 
which stops doing any of that if there wasn't a hash table already.

libdrm_drmclose2.patch extends that and deletes drmHashTable when its empty.

I have a DSO that links against libdrm and I don't want dlopen/dlclose cycles 
to leak memory.

Cheers,
Waldo
-- 
Intel Corporation - Hillsboro, Oregon
Ultra Mobility Group - Platform Software Architecture
Tel: +1 503 264 6237 - Mobile: +1 503 703-7327


libdrm_drmclose.patch
Description: libdrm_drmclose.patch


libdrm_drmclose2.patch
Description: libdrm_drmclose2.patch
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Prospects of DRM TTM making it into 2.6.24?

2007-11-19 Thread Bastian, Waldo
What are the prospects of the DRM TTM changes making it into 2.6.24? I noticed 
that Andrew has them [1] in his mm tree... any chance of that getting pushed 
into Linus' tree for 2.6.24?

Cheers,
Waldo

[1] http://userweb.kernel.org/~akpm/mmotm/broken-out/git-drm.patch 

Intel Corporation - Platform Software Engineering, UMG - Hillsboro, Oregon

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel