QMovie leaking lots of pixmap resources
klingens at kde.org
Thu Jan 1 16:46:19 GMT 2004
On Thursday 01 January 2004 17:39, Martijn Klingens wrote:
> On Thursday 01 January 2004 16:57, Dirk Mueller wrote:
> > valgrind is useful in finding memory leaks. You can download it from
> > http://valgrind.kde.org/ and run it on your application with
> > --leak-check=yes.
> Sure, but these are X server resources (pixmaps), as xrestop shows. Can one
> use valgrind for those too?
Also note that it's only leaking memory as long as the window is open. As soon
as I close the chat window the pixmaps are freed again, I guess by the X
And while valgrind supports a leakcheck inside a program's execution (instead
of on exit) I've never tried to find out how to do that. I guess it has
something to do with including memcheck.h, right?
More information about the kde-core-devel