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: patch for drmClose memory leak

2008-04-11 Thread Bastian, Waldo
Hi Dave, Valgrind complained 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