https://bugs.freedesktop.org/show_bug.cgi?id=37168
--- Comment #13 from Pierre-Eric Pelloux-Prayer pelloux@gmail.com 2011-06-10 22:40:21 PDT --- (In reply to comment #7)
Your patch fixes the problem here too! Great job spotting it!!
cool :)
I am curious, what research process did you undertake in order to isolate the leak?
I've mainly used valgrind (massif and memcheck tools) to see where the memory allocations came from (massif) and if some of them were really memory leak (ie : memory allocated with with no reference to them). Those 2 tools pointed to the same place, so I start digging there to understand how could this be possible, and eventually found a place where a refcounted resource was mis-released. This part was done mainly with printf logging and cgdb.
Thanks for testing, I'll propose the patch for inclusion.